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.001021/0.001021, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001235/0.001235, allocations: 162.7 kB / 25.7 MB, free: 8.406 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.917/0.917, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.503e-06/1.503e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.128e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.007769/0.00779, allocations: 8.779 MB / 260.4 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006024/0.01381, allocations: 3.229 MB / 263.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008485/0.01466, allocations: 47.69 kB / 263.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.01604, allocations: 0.6755 MB / 264.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.01765, allocations: 0.7684 MB / 265.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.01821, allocations: 331.4 kB / 265.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.02002, allocations: 2.193 MB / 267.6 MB, free: 7.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.02117, allocations: 0.8086 MB / 268.4 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.02299, allocations: 1.501 MB / 269.9 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.02418, allocations: 0.9819 MB / 270.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003556/0.02454, allocations: 224 kB / 271.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.02502, allocations: 315.7 kB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.02545, allocations: 0.6777 MB / 272.1 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.02616, allocations: 0.7327 MB / 272.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.02771, allocations: 1.674 MB / 274.5 MB, free: 144 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.02771, allocations: 0 / 274.5 MB, free: 144 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.02772, allocations: 0 / 274.5 MB, free: 144 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.335e-05/0.02777, allocations: 4 kB / 274.5 MB, free: 140 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.002522/0.03029, allocations: 2.058 MB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.03032, allocations: 11.98 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.03079, allocations: 292.7 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.03172, allocations: 0.8048 MB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/0.03179, allocations: 119.5 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.03195, allocations: 160.2 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.03317, allocations: 1.19 MB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.0332, allocations: 7.953 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.03328, allocations: 60 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.03335, allocations: 78.91 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.03399, allocations: 464.1 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/0.03874, allocations: 4.874 MB / 284.6 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.03909, allocations: 242.7 kB / 284.8 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.03918, allocations: 86.31 kB / 284.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.0393, allocations: 36.42 kB / 284.9 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.03933, allocations: 39.06 kB / 285 MB, free: 5.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.194e-06/0.03933, allocations: 0 / 285 MB, free: 5.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.003674/0.043, allocations: 1.713 MB / 286.7 MB, free: 3.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001319/0.04432, allocations: 1.873 MB / 288.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.0454, allocations: 1.152 MB / 289.7 MB, free: 232 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.04544, allocations: 33.7 kB / 289.8 MB, free: 192 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.04582, allocations: 0.9169 MB / 290.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.04596, allocations: 242 kB / 290.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.04621, allocations: 307.2 kB / 291.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.04627, allocations: 305.1 kB / 291.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.04655, allocations: 190.7 kB / 291.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.04722, allocations: 1.121 MB / 292.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.04829, allocations: 1.488 MB / 294.3 MB, free: 10.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.04831, allocations: 12 kB / 294.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001584/0.04989, allocations: 1.208 MB / 295.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.04992, allocations: 16 kB / 295.5 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.04994, allocations: 36 kB / 295.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.05018, allocations: 118.9 kB / 295.7 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/0.05085, allocations: 395.6 kB / 296.1 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006784/0.05153, allocations: 1.299 MB / 297.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.05218, allocations: 107.7 kB / 297.5 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.05226, allocations: 84 kB / 297.6 MB, free: 7.281 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.0003567/0.05261, allocations: 251.8 kB / 297.8 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.05276, allocations: 103.9 kB / 297.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.05343, allocations: 0.5022 MB / 298.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.05343, allocations: 8 kB / 298.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.05343, allocations: 4 kB / 298.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.05344, allocations: 3.984 kB / 298.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.05585, allocations: 2.152 MB / 300.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.05585, allocations: 4 kB / 300.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.05607, allocations: 104.5 kB / 300.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003386/0.05641, allocations: 187.3 kB / 300.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.05644, allocations: 19.98 kB / 300.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.05813, allocations: 2.962 MB / 303.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009332/0.05907, allocations: 1.814 MB / 305.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.05995, allocations: 0.853 MB / 306.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.06022, allocations: 170.9 kB / 306.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.0603, allocations: 16 kB / 306.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.06057, allocations: 31.98 kB / 306.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.06067, allocations: 71.8 kB / 306.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.0607, allocations: 16 kB / 306.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004487/0.06114, allocations: 0.5203 MB / 307.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06114, allocations: 0 / 307.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00103/0.06217, allocations: 376 kB / 307.7 MB, free: 12.52 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.0002117/0.06239, allocations: 152.1 kB / 307.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009448/0.06333, allocations: 0.8438 MB / 308.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.145e-05/0.06337, allocations: 27.84 kB / 308.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.0638, allocations: 497 kB / 309.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009621/0.06477, allocations: 358.4 kB / 309.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.06769, allocations: 2.755 MB / 312.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.06797, allocations: 366.2 kB / 312.7 MB, free: 7.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004425/0.06841, allocations: 213 kB / 312.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.06894, allocations: 381 kB / 313.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.693e-06/0.06894, allocations: 0 / 313.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of Templates: time 0.02547/0.09441, allocations: 20.25 MB / 333.5 MB, free: 2.52 MB / 314.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 -s gbode -gbm=radauIIA3 -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.058865954168141]