Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.001067/0.001067, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009633/0.0009633, allocations: 173.8 kB / 25.33 MB, free: 9.461 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.9319/0.9319, allocations: 158.6 MB / 187.2 MB, free: 2.52 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.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smee.is.[0-9,]+.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smee.is.[0-9,]+.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.76e-05, allocations: 5.406 kB / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.007754/0.007772, allocations: 8.958 MB / 260 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.01213, allocations: 3.148 MB / 263.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005311/0.01266, allocations: 47.69 kB / 263.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.01382, allocations: 0.6521 MB / 263.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.01518, allocations: 0.7801 MB / 264.6 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.01571, allocations: 327.4 kB / 265 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.01739, allocations: 2.181 MB / 267.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008576/0.01825, allocations: 0.7968 MB / 267.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.01971, allocations: 1.368 MB / 269.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.021, allocations: 1.025 MB / 270.3 MB, free: 176 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.02135, allocations: 232 kB / 270.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.02181, allocations: 323.7 kB / 270.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004984/0.02231, allocations: 0.7128 MB / 271.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006985/0.02301, allocations: 0.7522 MB / 272.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.02455, allocations: 1.705 MB / 274 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.02456, allocations: 0 / 274 MB, free: 12.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02456, allocations: 0 / 274 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.0246, allocations: 0 / 274 MB, free: 12.45 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.002627/0.02723, allocations: 2.387 MB / 276.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.02728, allocations: 11.98 kB / 276.4 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.02782, allocations: 371.5 kB / 276.8 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.02902, allocations: 1.057 MB / 277.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.02908, allocations: 111.5 kB / 278 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.02925, allocations: 160.3 kB / 278.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.03088, allocations: 1.282 MB / 279.4 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.03091, allocations: 3.953 kB / 279.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.365e-05/0.031, allocations: 71.92 kB / 279.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/0.03107, allocations: 74.92 kB / 279.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.0322, allocations: 0.5987 MB / 280.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005716/0.03791, allocations: 6.113 MB / 286.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.03845, allocations: 230.2 kB / 286.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.0386, allocations: 113.1 kB / 286.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.03874, allocations: 40.47 kB / 286.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.03877, allocations: 45.83 kB / 286.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 1.973e-06/0.03877, allocations: 3.938 kB / 286.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.003191/0.04196, allocations: 2.081 MB / 288.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001785/0.04375, allocations: 2.496 MB / 291.3 MB, free: 10.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.04499, allocations: 1.4 MB / 292.7 MB, free: 9.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.04502, allocations: 37.7 kB / 292.7 MB, free: 9.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005777/0.0456, allocations: 1.144 MB / 293.8 MB, free: 7.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.04575, allocations: 246 kB / 294.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.04604, allocations: 337 kB / 294.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.04615, allocations: 480.8 kB / 294.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.04645, allocations: 183.9 kB / 295.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.04759, allocations: 1.56 MB / 296.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.04895, allocations: 1.938 MB / 298.6 MB, free: 1.852 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.04896, allocations: 8 kB / 298.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001739/0.0507, allocations: 1.524 MB / 300.1 MB, free: 304 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.05073, allocations: 20 kB / 300.1 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.05075, allocations: 32 kB / 300.1 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/0.05102, allocations: 142.9 kB / 300.3 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1271/0.1781, allocations: 386.9 kB / 300.7 MB, free: 49.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.1793, allocations: 1.92 MB / 302.6 MB, free: 47.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.1803, allocations: 144.2 kB / 302.7 MB, free: 47.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.1805, allocations: 96.02 kB / 302.8 MB, free: 47.37 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000398/0.1809, allocations: 288.2 kB / 303.1 MB, free: 47.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.1811, allocations: 173.3 kB / 303.3 MB, free: 47.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009721/0.1821, allocations: 0.6333 MB / 303.9 MB, free: 47.1 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1821, allocations: 7.859 kB / 303.9 MB, free: 47.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1821, allocations: 3.125 kB / 303.9 MB, free: 47.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1821, allocations: 4.969 kB / 303.9 MB, free: 47.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/0.1855, allocations: 2.651 MB / 306.6 MB, free: 46.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.1856, allocations: 5.406 kB / 306.6 MB, free: 46.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.1858, allocations: 111.9 kB / 306.7 MB, free: 46.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.1863, allocations: 168.9 kB / 306.8 MB, free: 46.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.1863, allocations: 17.16 kB / 306.9 MB, free: 46.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.1883, allocations: 4.19 MB / 311 MB, free: 42.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009888/0.1893, allocations: 2.417 MB / 313.5 MB, free: 40.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.1905, allocations: 1.101 MB / 314.6 MB, free: 40.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.1908, allocations: 212.1 kB / 314.8 MB, free: 39.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.1908, allocations: 17.09 kB / 314.8 MB, free: 39.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.1912, allocations: 56.34 kB / 314.8 MB, free: 39.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.1913, allocations: 80.58 kB / 314.9 MB, free: 39.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.1913, allocations: 22.69 kB / 314.9 MB, free: 39.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008721/0.1922, allocations: 0.7442 MB / 315.7 MB, free: 39.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1922, allocations: 0 / 315.7 MB, free: 39.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001235/0.1934, allocations: 384 kB / 316.1 MB, free: 39.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 54 * 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/0.1937, allocations: 170.2 kB / 316.2 MB, free: 39.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.195, allocations: 1.048 MB / 317.3 MB, free: 39.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.195, allocations: 0 / 317.3 MB, free: 39.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.1956, allocations: 0.6881 MB / 318 MB, free: 39.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.1965, allocations: 374.7 kB / 318.3 MB, free: 39.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.1997, allocations: 2.906 MB / 321.2 MB, free: 37.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1999, allocations: 402.5 kB / 321.6 MB, free: 37.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004752/0.2004, allocations: 285.7 kB / 321.9 MB, free: 37.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.2006, allocations: 108.1 kB / 322 MB, free: 37.38 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2006, allocations: 0 / 322 MB, free: 37.38 MB / 282.7 MB Notification: Performance of Templates: time 0.02164/0.2222, allocations: 19.62 MB / 341.6 MB, free: 20.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.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.398941450752318]