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.002558/0.002558, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001949/0.001949, allocations: 160.4 kB / 25.03 MB, free: 8.418 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 1.343/1.343, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.1.|smee.is.2.|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.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.786e-05, allocations: 6.109 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.02097/0.02101, allocations: 8.862 MB / 259.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.03137, allocations: 3.136 MB / 262.4 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.03293, allocations: 47.69 kB / 262.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.0356, allocations: 0.6599 MB / 263.1 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.038, allocations: 0.7723 MB / 263.9 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.03888, allocations: 335.3 kB / 264.2 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.04203, allocations: 2.178 MB / 266.4 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.04344, allocations: 0.7929 MB / 267.1 MB, free: 6.918 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.04573, allocations: 1.364 MB / 268.5 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.04753, allocations: 1.033 MB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003804/0.04791, allocations: 232 kB / 269.8 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007047/0.04861, allocations: 319.8 kB / 270.1 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008735/0.04949, allocations: 0.7166 MB / 270.8 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.05059, allocations: 0.7522 MB / 271.6 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.0547, allocations: 3.162 MB / 274.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.05471, allocations: 0 / 274.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05471, allocations: 0 / 274.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.329e-05/0.05476, allocations: 0 / 274.7 MB, free: 15.33 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.005354/0.06012, allocations: 2.539 MB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.06016, allocations: 11.98 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/0.0611, allocations: 371.6 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.06346, allocations: 1.08 MB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.06358, allocations: 123.4 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.06385, allocations: 156.3 kB / 279 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/0.06743, allocations: 1.895 MB / 280.9 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.06748, allocations: 7.953 kB / 280.9 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.06764, allocations: 64 kB / 280.9 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.06775, allocations: 78.84 kB / 281 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.07031, allocations: 1.186 MB / 282.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.08423, allocations: 8.403 MB / 290.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.08496, allocations: 274.2 kB / 290.9 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.08527, allocations: 141 kB / 291 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.08548, allocations: 40.47 kB / 291.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.08553, allocations: 45.83 kB / 291.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.08554, allocations: 4 kB / 291.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.006444/0.09198, allocations: 2.219 MB / 293.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002975/0.09496, allocations: 2.582 MB / 295.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.098, allocations: 1.92 MB / 297.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.163e-05/0.09809, allocations: 33.7 kB / 297.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.09932, allocations: 1.219 MB / 299.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.09961, allocations: 262.1 kB / 299.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007058/0.1003, allocations: 405 kB / 299.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.1005, allocations: 476.8 kB / 300.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.1012, allocations: 300.2 kB / 300.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.1032, allocations: 1.732 MB / 302.2 MB, free: 2.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/0.1064, allocations: 2.192 MB / 304.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/0.1064, allocations: 8 kB / 304.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00346/0.1098, allocations: 1.75 MB / 306.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.1099, allocations: 23.94 kB / 306.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/0.1099, allocations: 32 kB / 306.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000501/0.1104, allocations: 143.5 kB / 306.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.1117, allocations: 395.3 kB / 306.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.1136, allocations: 1.939 MB / 308.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.1149, allocations: 139.7 kB / 308.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.1151, allocations: 95.98 kB / 308.9 MB, free: 10.68 MB / 298.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.001057/0.1161, allocations: 0.5075 MB / 309.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/0.1164, allocations: 175 kB / 309.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.1181, allocations: 0.6818 MB / 310.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.1181, allocations: 8 kB / 310.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1181, allocations: 3.938 kB / 310.3 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1181, allocations: 3.984 kB / 310.3 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006187/0.1243, allocations: 3.113 MB / 313.4 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.1243, allocations: 4 kB / 313.4 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.1248, allocations: 112.5 kB / 313.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006854/0.1255, allocations: 162.9 kB / 313.7 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.1255, allocations: 19.98 kB / 313.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004978/0.1305, allocations: 4.328 MB / 318 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002667/0.1332, allocations: 2.508 MB / 320.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.1356, allocations: 1.217 MB / 321.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/0.1363, allocations: 218.9 kB / 322 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.1364, allocations: 16 kB / 322 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.1371, allocations: 51.88 kB / 322 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.1373, allocations: 71.8 kB / 322.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/0.1373, allocations: 24 kB / 322.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001749/0.1391, allocations: 1.02 MB / 323.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1391, allocations: 0 / 323.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00195/0.141, allocations: 380 kB / 323.5 MB, free: 11.34 MB / 314.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.0003866/0.1414, allocations: 174.9 kB / 323.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.144, allocations: 1.238 MB / 324.9 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.144, allocations: 0 / 324.9 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.1453, allocations: 0.7315 MB / 325.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.1471, allocations: 373.9 kB / 326 MB, free: 8.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.1526, allocations: 3.032 MB / 329.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.1537, allocations: 0.838 MB / 329.9 MB, free: 4.707 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.1547, allocations: 284.9 kB / 330.2 MB, free: 4.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.155, allocations: 112.5 kB / 330.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of SimCode: time 2.826e-06/0.1551, allocations: 0 / 330.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of Templates: time 0.04006/0.1951, allocations: 19.59 MB / 349.9 MB, free: 0.7148 MB / 330.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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: 5.063492082990706]