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.001022/0.001022, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.00174/0.00174, allocations: 166.8 kB / 25.6 MB, free: 8.484 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.9634/0.9634, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.473e-06/1.473e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.609e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.007312/0.007328, allocations: 8.713 MB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.01188, allocations: 3.136 MB / 263.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.0125, allocations: 51.69 kB / 263.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.0137, allocations: 0.6521 MB / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.01499, allocations: 0.7762 MB / 264.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.01543, allocations: 335.4 kB / 265.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.01695, allocations: 2.174 MB / 267.3 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007617/0.01771, allocations: 0.7968 MB / 268.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.0191, allocations: 1.516 MB / 269.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009785/0.02008, allocations: 0.9858 MB / 270.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.02033, allocations: 224 kB / 270.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.02074, allocations: 311.8 kB / 271.1 MB, free: 3.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005345/0.02128, allocations: 0.6816 MB / 271.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.02184, allocations: 0.7327 MB / 272.5 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.02327, allocations: 1.666 MB / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.02328, allocations: 0 / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02328, allocations: 0 / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.0233, allocations: 0 / 274.2 MB, free: 368 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.002216/0.02552, allocations: 2.297 MB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.02556, allocations: 11.98 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.02605, allocations: 359.6 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.02705, allocations: 1.018 MB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.02711, allocations: 115.5 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.02727, allocations: 160.3 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.02849, allocations: 1.177 MB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.02852, allocations: 3.984 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.02861, allocations: 64 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.335e-05/0.02867, allocations: 78.86 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006505/0.02932, allocations: 471.8 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/0.03424, allocations: 6.009 MB / 285.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.03456, allocations: 221.8 kB / 286.2 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.03467, allocations: 101.1 kB / 286.3 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.03478, allocations: 36.48 kB / 286.3 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.03481, allocations: 50.3 kB / 286.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.923e-06/0.03481, allocations: 0 / 286.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002519/0.03733, allocations: 1.663 MB / 288 MB, free: 1.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001275/0.0386, allocations: 2.438 MB / 290.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.03961, allocations: 1.361 MB / 291.8 MB, free: 14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.03965, allocations: 37.7 kB / 291.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005449/0.04019, allocations: 1.152 MB / 293 MB, free: 12.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.04032, allocations: 254 kB / 293.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.0406, allocations: 340.8 kB / 293.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.0407, allocations: 480.8 kB / 294 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.04094, allocations: 163.9 kB / 294.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/0.04176, allocations: 1.548 MB / 295.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.04294, allocations: 1.906 MB / 297.7 MB, free: 6.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.04295, allocations: 8 kB / 297.7 MB, free: 6.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001459/0.04441, allocations: 1.434 MB / 299.1 MB, free: 5.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.04443, allocations: 16 kB / 299.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.04446, allocations: 36 kB / 299.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.04465, allocations: 122.9 kB / 299.3 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.04524, allocations: 375.7 kB / 299.6 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007399/0.04598, allocations: 1.823 MB / 301.5 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.04651, allocations: 107.7 kB / 301.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.04658, allocations: 80 kB / 301.6 MB, free: 2.684 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.0002827/0.04687, allocations: 295.7 kB / 301.9 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.04702, allocations: 171 kB / 302.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006951/0.04772, allocations: 0.5763 MB / 302.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.04772, allocations: 11.94 kB / 302.7 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.04773, allocations: 0 / 302.7 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.04773, allocations: 7.984 kB / 302.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.05039, allocations: 2.62 MB / 305.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.0504, allocations: 4 kB / 305.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.05062, allocations: 100.5 kB / 305.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.05093, allocations: 146.9 kB / 305.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.05096, allocations: 20 kB / 305.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.05299, allocations: 4.04 MB / 309.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001258/0.05425, allocations: 2.366 MB / 312 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.05555, allocations: 1.03 MB / 313 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.05584, allocations: 195 kB / 313.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.05595, allocations: 16 kB / 313.2 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.05634, allocations: 27.98 kB / 313.2 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.05644, allocations: 67.77 kB / 313.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.05647, allocations: 20.34 kB / 313.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006807/0.05715, allocations: 0.6839 MB / 314 MB, free: 5.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05715, allocations: 0 / 314 MB, free: 5.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001268/0.05842, allocations: 375.9 kB / 314.4 MB, free: 5.223 MB / 298.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.0002606/0.05868, allocations: 179 kB / 314.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.05988, allocations: 0.9374 MB / 315.5 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.05989, allocations: 4.062 kB / 315.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.06056, allocations: 0.6217 MB / 316.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.062, allocations: 360.6 kB / 316.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.06578, allocations: 2.875 MB / 319.3 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.06619, allocations: 406.2 kB / 319.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006464/0.06684, allocations: 213 kB / 320 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007236/0.06757, allocations: 426 kB / 320.4 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.06757, allocations: 0 / 320.4 MB, free: 15 MB / 314.7 MB Notification: Performance of Templates: time 0.02967/0.09723, allocations: 20.23 MB / 340.6 MB, free: 10.77 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","",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.2478688759729266]