Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.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.000983/0.000983, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009299/0.0009299, allocations: 162.5 kB / 25.7 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9081/0.9081, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.95e-05, allocations: 10.25 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01397/0.014, allocations: 11.06 MB / 262.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009381/0.02338, allocations: 3.97 MB / 266.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.02472, allocations: 67.56 kB / 266.7 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.02671, allocations: 0.8401 MB / 267.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.02843, allocations: 1.036 MB / 268.6 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.02923, allocations: 0.5186 MB / 269.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.0316, allocations: 3.346 MB / 272.4 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.03291, allocations: 1.441 MB / 273.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.03517, allocations: 2.382 MB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.03663, allocations: 1.598 MB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003898/0.03702, allocations: 376 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007721/0.03779, allocations: 0.5971 MB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007277/0.03852, allocations: 1.075 MB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.03964, allocations: 1.173 MB / 281.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.04198, allocations: 2.772 MB / 283.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.04199, allocations: 0 / 283.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.04199, allocations: 0 / 283.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.04202, allocations: 0 / 283.8 MB, free: 6.766 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.003188/0.04521, allocations: 3.216 MB / 287 MB, free: 3.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.04525, allocations: 11.98 kB / 287.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008499/0.0461, allocations: 0.5122 MB / 287.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.04738, allocations: 1.127 MB / 288.7 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.04749, allocations: 189.4 kB / 288.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.04771, allocations: 256.3 kB / 289.1 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.04964, allocations: 1.919 MB / 291 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.04968, allocations: 3.984 kB / 291.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.04982, allocations: 104 kB / 291.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.945e-05/0.04991, allocations: 112.9 kB / 291.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.05098, allocations: 0.7159 MB / 292 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.05773, allocations: 6.753 MB / 298.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.05844, allocations: 0.6478 MB / 299.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.05896, allocations: 427.2 kB / 299.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.05912, allocations: 68.89 kB / 299.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.05916, allocations: 51.55 kB / 299.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=115): time 2.344e-06/0.05916, allocations: 0 / 299.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=134): time 0.004637/0.0638, allocations: 2.842 MB / 302.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.06383, allocations: 72.66 kB / 302.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008627/0.06469, allocations: 1.207 MB / 304 MB, free: 1.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.06475, allocations: 49.64 kB / 304.1 MB, free: 1.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.06518, allocations: 1.066 MB / 305.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.06542, allocations: 487.8 kB / 305.6 MB, free: 304 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.06569, allocations: 287.3 kB / 305.9 MB, free: 8 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.06576, allocations: 301.1 kB / 306.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.06603, allocations: 186.7 kB / 306.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.06649, allocations: 0.6646 MB / 307 MB, free: 14.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.06735, allocations: 1.046 MB / 308.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.06735, allocations: 4 kB / 308.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.001357/0.06871, allocations: 1.132 MB / 309.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.06873, allocations: 12 kB / 309.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.06875, allocations: 16 kB / 309.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.06923, allocations: 254.9 kB / 309.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.06998, allocations: 367.4 kB / 309.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.0724, allocations: 3.622 MB / 313.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.07292, allocations: 67.94 kB / 313.6 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/0.073, allocations: 67.92 kB / 313.6 MB, free: 7.641 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003502/0.07335, allocations: 212.3 kB / 313.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.07357, allocations: 159.8 kB / 314 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.07468, allocations: 0.8977 MB / 314.9 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.0747, allocations: 16 kB / 314.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.0747, allocations: 7.938 kB / 314.9 MB, free: 6.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.07471, allocations: 7.969 kB / 314.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.07775, allocations: 2.716 MB / 317.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.07776, allocations: 4 kB / 317.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.0783, allocations: 236.2 kB / 317.9 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006003/0.0789, allocations: 323.6 kB / 318.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.07896, allocations: 35.98 kB / 318.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.08182, allocations: 4.789 MB / 323 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.08183, allocations: 7.938 kB / 323 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.08336, allocations: 1.374 MB / 324.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.0837, allocations: 230.7 kB / 324.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.08383, allocations: 35.94 kB / 324.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.08426, allocations: 63.95 kB / 324.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.08444, allocations: 108.7 kB / 324.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.08449, allocations: 31.98 kB / 324.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005232/0.08501, allocations: 0.6112 MB / 325.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08501, allocations: 0 / 325.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001141/0.08615, allocations: 0.5351 MB / 326 MB, free: 10.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003133/0.08647, allocations: 200 kB / 326.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.08773, allocations: 1.138 MB / 327.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.867e-05/0.08776, allocations: 21.81 kB / 327.3 MB, free: 9.312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007965/0.08855, allocations: 0.8644 MB / 328.2 MB, free: 8.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.08947, allocations: 384.4 kB / 328.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.0943, allocations: 4.244 MB / 332.8 MB, free: 3.672 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.09478, allocations: 0.5713 MB / 333.4 MB, free: 3.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005654/0.09534, allocations: 242.4 kB / 333.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/0.09606, allocations: 409.1 kB / 334 MB, free: 2.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.09606, allocations: 0 / 334 MB, free: 2.43 MB / 314.7 MB Notification: Performance of Templates: time 0.1292/0.2252, allocations: 26.85 MB / 360.9 MB, free: 89.56 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.468970744404942]