Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.768e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1439/0.1439, allocations: 30.36 MB / 302.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.1597, allocations: 8.79 MB / 311.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005319/0.165, allocations: 221.2 kB / 311.7 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.1755, allocations: 5.201 MB / 316.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008016/0.1835, allocations: 3.141 MB / 320.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.1871, allocations: 1.618 MB / 321.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01297/0.2001, allocations: 9.189 MB / 330.9 MB, free: 8.594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/0.2163, allocations: 9.127 MB / 340 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/0.2304, allocations: 6.419 MB / 346.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009981/0.2404, allocations: 4.456 MB / 350.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003288/0.2437, allocations: 1.16 MB / 352 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005544/0.2492, allocations: 1.534 MB / 353.6 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003876/0.2531, allocations: 2.501 MB / 356.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00751/0.2606, allocations: 3.185 MB / 359.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02269/0.2833, allocations: 16.13 MB / 375.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2833, allocations: 0 / 375.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2833, allocations: 0 / 375.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003744/0.2837, allocations: 0 / 375.4 MB, free: 11.9 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.03243/0.3161, allocations: 11.25 MB / 386.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3161, allocations: 8.031 kB / 386.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03352/0.3497, allocations: 6.504 MB / 393.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/0.363, allocations: 4.94 MB / 398.1 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006988/0.3637, allocations: 0.5376 MB / 398.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002665/0.3664, allocations: 0.7069 MB / 399.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02829/0.3947, allocations: 11.68 MB / 411 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002545/0.3949, allocations: 15.89 kB / 411 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001498/0.3964, allocations: 300 kB / 411.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005652/0.397, allocations: 450.9 kB / 411.8 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0247/0.4217, allocations: 9.623 MB / 421.4 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1947/0.6164, allocations: 61.14 MB / 482.5 MB, free: 77.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.6269, allocations: 7.066 MB / 489.6 MB, free: 72.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.6296, allocations: 2.15 MB / 491.7 MB, free: 70.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.6412, allocations: 7.145 MB / 498.9 MB, free: 63.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.6413, allocations: 59.39 kB / 498.9 MB, free: 63.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 4.148e-06/0.6413, allocations: 0 / 498.9 MB, free: 63.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01712/0.6584, allocations: 9.14 MB / 0.4962 GB, free: 54.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002349/0.6607, allocations: 2.455 MB / 0.4986 GB, free: 51.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009424/0.6701, allocations: 5.039 MB / 0.5035 GB, free: 46.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004828/0.6706, allocations: 65.7 kB / 0.5036 GB, free: 46.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003089/0.6737, allocations: 4.145 MB / 0.5076 GB, free: 42.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.6749, allocations: 0.9482 MB / 0.5085 GB, free: 41.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002318/0.6772, allocations: 1.252 MB / 0.5097 GB, free: 40.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.6773, allocations: 484.7 kB / 0.5102 GB, free: 40.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003455/0.6807, allocations: 1.552 MB / 0.5117 GB, free: 38.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005436/0.6862, allocations: 5.49 MB / 0.5171 GB, free: 31.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009251/0.6954, allocations: 7.577 MB / 0.5245 GB, free: 22.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/0.6955, allocations: 28 kB / 0.5245 GB, free: 22.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01582/0.7114, allocations: 6.583 MB / 0.5309 GB, free: 15.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/0.7114, allocations: 44 kB / 0.531 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.7116, allocations: 84.84 kB / 0.5311 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/0.7152, allocations: 0.8979 MB / 0.5319 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005445/0.7207, allocations: 1.119 MB / 0.533 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008826/0.7295, allocations: 5.924 MB / 0.5388 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/0.734, allocations: 315.4 kB / 0.5391 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005164/0.7345, allocations: 279.9 kB / 0.5394 GB, free: 6.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003296/0.7378, allocations: 2.314 MB / 0.5416 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/0.7389, allocations: 445.6 kB / 0.5421 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005861/0.7447, allocations: 3.672 MB / 0.5457 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.7447, allocations: 24 kB / 0.5457 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.7448, allocations: 8 kB / 0.5457 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.7448, allocations: 19.89 kB / 0.5457 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03022/0.775, allocations: 15.22 MB / 0.5606 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.775, allocations: 20 kB / 0.5606 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.7771, allocations: 479.3 kB / 0.561 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003367/0.7804, allocations: 0.866 MB / 0.5619 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/0.7807, allocations: 71.98 kB / 0.562 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.7925, allocations: 8.115 MB / 0.5699 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002505/0.795, allocations: 2.41 MB / 0.5722 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1514/0.9465, allocations: 6.008 MB / 0.5781 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/0.9487, allocations: 0.6686 MB / 0.5788 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005953/0.9493, allocations: 62.52 kB / 0.5788 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/0.9512, allocations: 167 kB / 0.579 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005139/0.9517, allocations: 236.9 kB / 0.5792 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/0.9519, allocations: 94.86 kB / 0.5793 GB, free: 121.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003969/0.9559, allocations: 2.557 MB / 0.5818 GB, free: 121 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9559, allocations: 1.094 kB / 0.5818 GB, free: 121 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005309/0.9612, allocations: 1.289 MB / 0.5831 GB, free: 121 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005941/0.9618, allocations: 235.8 kB / 0.5833 GB, free: 120.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007638/0.9694, allocations: 4.817 MB / 0.588 GB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/0.9695, allocations: 3.875 kB / 0.588 GB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003276/0.9727, allocations: 2.277 MB / 0.5902 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/0.9772, allocations: 0.8876 MB / 0.5911 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.9943, allocations: 12.03 MB / 0.6028 GB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/0.9976, allocations: 3.724 MB / 0.6065 GB, free: 114.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003037/1.001, allocations: 1.152 MB / 0.6076 GB, free: 114.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007254/1.001, allocations: 292.2 kB / 0.6079 GB, free: 114.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/1.001, allocations: 0 / 0.6079 GB, free: 114.4 MB / 410.7 MB Notification: Performance of Templates: time 0.07424/1.076, allocations: 48.2 MB / 0.6549 GB, free: 70.86 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.207493414054625]