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.0009854/0.0009854, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001006/0.001006, allocations: 164.9 kB / 25.7 MB, free: 8.434 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.8291/0.8291, 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.072e-06/1.072e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.807e-06/9.879e-06, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.006441/0.006451, allocations: 8.739 MB / 260.3 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.009604, allocations: 3.225 MB / 263.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.009954, allocations: 51.62 kB / 263.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.01084, allocations: 0.6522 MB / 264.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009906/0.01183, allocations: 0.784 MB / 265 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.01219, allocations: 335.2 kB / 265.3 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.0135, allocations: 2.186 MB / 267.5 MB, free: 7.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006673/0.01417, allocations: 0.8164 MB / 268.3 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.01528, allocations: 1.493 MB / 269.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000755/0.01603, allocations: 0.978 MB / 270.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.01621, allocations: 224 kB / 271 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.01652, allocations: 319.7 kB / 271.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.01691, allocations: 0.6816 MB / 272 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.0174, allocations: 0.7288 MB / 272.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.01857, allocations: 1.674 MB / 274.4 MB, free: 252 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.01857, allocations: 0 / 274.4 MB, free: 252 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01857, allocations: 0 / 274.4 MB, free: 252 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.01859, allocations: 0 / 274.4 MB, free: 252 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.002014/0.0206, allocations: 2.058 MB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.02063, allocations: 23.97 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.02108, allocations: 292.6 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000846/0.02193, allocations: 0.797 MB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.02198, allocations: 115.4 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.02212, allocations: 164.3 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.02322, allocations: 1.19 MB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.02325, allocations: 3.953 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.02333, allocations: 64 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/0.02339, allocations: 78.91 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.02399, allocations: 468.1 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.02813, allocations: 4.862 MB / 284.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.02842, allocations: 246.7 kB / 284.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.933e-05/0.02851, allocations: 78.33 kB / 284.8 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.0286, allocations: 48.41 kB / 284.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.02862, allocations: 43 kB / 284.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.02862, allocations: 0 / 284.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002647/0.03127, allocations: 1.706 MB / 286.6 MB, free: 3.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001019/0.03229, allocations: 1.877 MB / 288.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.03321, allocations: 1.152 MB / 289.6 MB, free: 340 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.03324, allocations: 37.7 kB / 289.7 MB, free: 296 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.03359, allocations: 0.9093 MB / 290.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.03371, allocations: 250 kB / 290.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.03394, allocations: 307.2 kB / 291.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.034, allocations: 301.1 kB / 291.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.03428, allocations: 190.7 kB / 291.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.03491, allocations: 1.125 MB / 292.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.03587, allocations: 1.484 MB / 294.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.03587, allocations: 12 kB / 294.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001399/0.03727, allocations: 1.211 MB / 295.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.03729, allocations: 20 kB / 295.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.03731, allocations: 32 kB / 295.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.03749, allocations: 119.5 kB / 295.6 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.03807, allocations: 375.3 kB / 296 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005435/0.03861, allocations: 1.292 MB / 297.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.03911, allocations: 111.7 kB / 297.4 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.03918, allocations: 83.98 kB / 297.4 MB, free: 7.402 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.0002404/0.03942, allocations: 251.7 kB / 297.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.03954, allocations: 99.89 kB / 297.8 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.04011, allocations: 0.5139 MB / 298.3 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.04012, allocations: 8 kB / 298.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.04012, allocations: 0 / 298.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.04013, allocations: 0 / 298.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.0422, allocations: 2.157 MB / 300.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.0422, allocations: 4 kB / 300.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.04239, allocations: 96.48 kB / 300.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003234/0.04272, allocations: 191.3 kB / 300.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.04274, allocations: 16 kB / 300.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.04436, allocations: 2.959 MB / 303.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008463/0.0452, allocations: 1.81 MB / 305.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007461/0.04595, allocations: 0.8528 MB / 306.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.04615, allocations: 159 kB / 306.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.04623, allocations: 27.98 kB / 306.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.04649, allocations: 23.98 kB / 306.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.04656, allocations: 67.81 kB / 306.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.04658, allocations: 23.98 kB / 306.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003972/0.04698, allocations: 0.5164 MB / 307.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04698, allocations: 0 / 307.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007745/0.04775, allocations: 372 kB / 307.6 MB, free: 12.66 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.0001954/0.04795, allocations: 156.1 kB / 307.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.04876, allocations: 0.8359 MB / 308.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.072e-05/0.0488, allocations: 27.84 kB / 308.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.0492, allocations: 0.4932 MB / 309.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.05023, allocations: 361 kB / 309.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.05287, allocations: 2.763 MB / 312.2 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.05312, allocations: 366.2 kB / 312.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003839/0.0535, allocations: 217 kB / 312.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.054, allocations: 373 kB / 313.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.054, allocations: 0 / 313.1 MB, free: 6.898 MB / 298.7 MB Notification: Performance of Templates: time 0.02271/0.07671, allocations: 20.26 MB / 333.4 MB, free: 2.648 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 -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: 2.832534037064761]