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.0015/0.0015, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001515/0.001515, allocations: 163.6 kB / 25.02 MB, free: 8.945 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.422/1.422, allocations: 158.6 MB / 186.8 MB, free: 2.898 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.443e-06/1.443e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.475e-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.01212/0.01215, allocations: 7.969 MB / 258.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006349/0.01849, allocations: 3.015 MB / 261.4 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/0.01927, allocations: 43.69 kB / 261.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.0212, allocations: 0.6599 MB / 262.1 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.02331, allocations: 0.7684 MB / 262.8 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.02412, allocations: 335.3 kB / 263.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002836/0.02696, allocations: 2.178 MB / 265.3 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.02834, allocations: 0.7967 MB / 266.1 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.03044, allocations: 1.349 MB / 267.5 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.03204, allocations: 0.9624 MB / 268.4 MB, free: 5.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.03243, allocations: 232 kB / 268.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007405/0.03317, allocations: 315.8 kB / 269 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.03443, allocations: 0.7128 MB / 269.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.03568, allocations: 0.7444 MB / 270.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.03974, allocations: 3.135 MB / 273.6 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.03975, allocations: 0 / 273.6 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.03975, allocations: 3.938 kB / 273.6 MB, free: 488 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.394e-05/0.03982, allocations: 4 kB / 273.6 MB, free: 484 kB / 250.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.004977/0.04479, allocations: 2.227 MB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.04483, allocations: 11.98 kB / 275.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009008/0.04573, allocations: 367.6 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.04819, allocations: 1.14 MB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.04831, allocations: 115.5 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.04858, allocations: 156.3 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/0.05225, allocations: 2.084 MB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.0523, allocations: 7.953 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.05246, allocations: 64 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.05256, allocations: 78.91 kB / 279.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.05555, allocations: 1.643 MB / 281.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.0662, allocations: 6.17 MB / 287.6 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008811/0.06708, allocations: 421.7 kB / 288 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.06752, allocations: 246.2 kB / 288.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.06771, allocations: 48.41 kB / 288.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.06776, allocations: 43 kB / 288.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.06776, allocations: 0 / 288.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.008138/0.0759, allocations: 3.169 MB / 291.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002981/0.07888, allocations: 2.189 MB / 293.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.08132, allocations: 1.515 MB / 295.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.0814, allocations: 41.7 kB / 295.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.08241, allocations: 1.06 MB / 296.3 MB, free: 9.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.08268, allocations: 246 kB / 296.6 MB, free: 8.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005289/0.08321, allocations: 323.2 kB / 296.9 MB, free: 8.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.08337, allocations: 305.1 kB / 297.2 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.08454, allocations: 0.5192 MB / 297.7 MB, free: 7.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.08648, allocations: 1.461 MB / 299.2 MB, free: 5.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/0.08956, allocations: 2.139 MB / 301.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.08957, allocations: 8 kB / 301.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004262/0.09384, allocations: 2.241 MB / 303.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.09387, allocations: 20.94 kB / 303.6 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.605e-05/0.09391, allocations: 36 kB / 303.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.09454, allocations: 234.3 kB / 303.8 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.09603, allocations: 391.3 kB / 304.2 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.09813, allocations: 1.725 MB / 305.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.09944, allocations: 139.7 kB / 306.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.09959, allocations: 103.9 kB / 306.2 MB, free: 14.1 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.001007/0.1006, allocations: 0.5789 MB / 306.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.101, allocations: 170.9 kB / 306.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.1032, allocations: 1.099 MB / 308 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1032, allocations: 7.938 kB / 308 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1032, allocations: 7.938 kB / 308 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.1032, allocations: 3.984 kB / 308 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006311/0.1096, allocations: 3.057 MB / 311.1 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.1096, allocations: 8.094 kB / 311.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.11, allocations: 107.9 kB / 311.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008272/0.1109, allocations: 254.3 kB / 311.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.515e-05/0.1109, allocations: 16 kB / 311.5 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005103/0.116, allocations: 3.797 MB / 315.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002665/0.1187, allocations: 2.048 MB / 317.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.1223, allocations: 1.747 MB / 319.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/0.123, allocations: 226.9 kB / 319.3 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.1232, allocations: 16 kB / 319.3 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.1238, allocations: 52 kB / 319.4 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.124, allocations: 71.7 kB / 319.4 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.1241, allocations: 24 kB / 319.5 MB, free: 220 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001693/0.1258, allocations: 0.9576 MB / 320.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1258, allocations: 4 kB / 320.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001834/0.1276, allocations: 379.9 kB / 320.8 MB, free: 14.88 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.0003764/0.128, allocations: 171 kB / 321 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.1308, allocations: 1.423 MB / 322.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1308, allocations: 0 / 322.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.1322, allocations: 0.7449 MB / 323.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.134, allocations: 374.9 kB / 323.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/0.14, allocations: 3.223 MB / 326.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.1412, allocations: 0.881 MB / 327.6 MB, free: 7.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.1422, allocations: 336.9 kB / 327.9 MB, free: 7.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.1425, allocations: 104.5 kB / 328 MB, free: 7.441 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1425, allocations: 0 / 328 MB, free: 7.441 MB / 314.7 MB Notification: Performance of Templates: time 0.03985/0.1824, allocations: 19.6 MB / 347.6 MB, free: 3.859 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] 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.151687950943597]