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.001098/0.001098, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.002645, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001063/0.001063, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.00245, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8629/0.8629, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.127/0.9899, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.253e-06/1.253e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.64e-05, allocations: 2.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.0066/0.006616, allocations: 8.831 MB / 230.8 MB, free: 7.172 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.01084, allocations: 3.244 MB / 234.1 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006342/0.01147, allocations: 51.62 kB / 234.1 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.01251, allocations: 0.6638 MB / 234.8 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.01382, allocations: 0.7762 MB / 235.6 MB, free: 2.414 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.01434, allocations: 327.3 kB / 235.9 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.01601, allocations: 2.206 MB / 238.1 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.01682, allocations: 0.8163 MB / 238.9 MB, free: 15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.01884, allocations: 1.661 MB / 240.6 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.01994, allocations: 0.9819 MB / 241.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003382/0.02028, allocations: 220 kB / 241.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.02077, allocations: 319.8 kB / 242.1 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003755/0.02115, allocations: 0.5649 MB / 242.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.02167, allocations: 0.6044 MB / 243.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.02293, allocations: 1.573 MB / 244.8 MB, free: 9.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.02294, allocations: 0 / 244.8 MB, free: 9.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.02294, allocations: 0 / 244.8 MB, free: 9.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.02296, allocations: 0 / 244.8 MB, free: 9.059 MB / 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.002113/0.02508, allocations: 2.452 MB / 247.3 MB, free: 6.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.02511, allocations: 8.031 kB / 247.3 MB, free: 6.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004553/0.02556, allocations: 381.7 kB / 247.6 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.02643, allocations: 0.801 MB / 248.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.02649, allocations: 111.5 kB / 248.6 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.02664, allocations: 164.3 kB / 248.7 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.02778, allocations: 1.186 MB / 249.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.02782, allocations: 15.89 kB / 249.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.0279, allocations: 63.98 kB / 250 MB, free: 3.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.028e-05/0.02796, allocations: 78.91 kB / 250.1 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.02858, allocations: 468.1 kB / 250.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.0327, allocations: 4.878 MB / 255.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.03303, allocations: 246.7 kB / 255.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.03312, allocations: 86.31 kB / 255.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.03322, allocations: 44.42 kB / 255.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.03324, allocations: 39.06 kB / 255.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.225e-06/0.03325, allocations: 0 / 255.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.00277/0.03602, allocations: 1.719 MB / 257.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001148/0.03716, allocations: 1.873 MB / 259.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.03788, allocations: 1.156 MB / 260.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.03791, allocations: 37.7 kB / 260.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.03826, allocations: 0.9052 MB / 261.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.03838, allocations: 250 kB / 261.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.03861, allocations: 315.2 kB / 262 MB, free: 7.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.03868, allocations: 301.1 kB / 262.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.03895, allocations: 194.7 kB / 262.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/0.03959, allocations: 1.117 MB / 263.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.04064, allocations: 1.586 MB / 265.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.04065, allocations: 12 kB / 265.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001179/0.04183, allocations: 1.208 MB / 266.4 MB, free: 1.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.04185, allocations: 16 kB / 266.5 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.04187, allocations: 36 kB / 266.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.04205, allocations: 123.4 kB / 266.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.04268, allocations: 423.3 kB / 267 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005864/0.04327, allocations: 1.288 MB / 268.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.04377, allocations: 112.1 kB / 268.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.04384, allocations: 87.94 kB / 268.5 MB, free: 15.55 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.04407, allocations: 243.8 kB / 268.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.04419, allocations: 111.9 kB / 268.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/0.04476, allocations: 0.5138 MB / 269.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.04476, allocations: 4 kB / 269.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.04477, allocations: 0 / 269.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.04478, allocations: 7.984 kB / 269.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.04682, allocations: 2.161 MB / 271.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.04682, allocations: 4.656 kB / 271.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.04705, allocations: 111.8 kB / 271.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.04723, allocations: 171 kB / 271.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.04754, allocations: 187.4 kB / 272 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.04757, allocations: 19.98 kB / 272 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.04904, allocations: 2.943 MB / 275 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008638/0.0499, allocations: 1.802 MB / 276.8 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.05064, allocations: 0.8568 MB / 277.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.05072, allocations: 20 kB / 277.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.05098, allocations: 24.02 kB / 277.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.05105, allocations: 75.7 kB / 277.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.05108, allocations: 20 kB / 277.8 MB, free: 5.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006274/0.05171, allocations: 0.9575 MB / 278.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05171, allocations: 0 / 278.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000823/0.05253, allocations: 371.9 kB / 279.1 MB, free: 4.172 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 {(1,2,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.0002244/0.05275, allocations: 152.2 kB / 279.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008581/0.05361, allocations: 0.8794 MB / 280.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.925e-05/0.05366, allocations: 35.84 kB / 280.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.05412, allocations: 0.5295 MB / 280.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08146/0.1356, allocations: 3.486 MB / 284.2 MB, free: 46.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.147, allocations: 2.813 MB / 287 MB, free: 45.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1473, allocations: 368.2 kB / 287.3 MB, free: 44.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005203/0.1478, allocations: 214.4 kB / 287.5 MB, free: 44.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/0.1484, allocations: 372.7 kB / 287.9 MB, free: 44.86 MB / 282.7 MB Notification: Performance of SimCode: time 1.894e-06/0.1484, allocations: 1.688 kB / 287.9 MB, free: 44.86 MB / 282.7 MB Notification: Performance of Templates: time 0.02202/0.1704, allocations: 19.9 MB / 307.8 MB, free: 34.77 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0570880863815546]