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.001675/0.001675, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001182/0.001182, allocations: 164.7 kB / 25.33 MB, free: 8.594 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.9295/0.9295, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.553e-06/1.553e-06, allocations: 3.938 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.721e-05, allocations: 6.25 kB / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008402/0.00843, allocations: 8.955 MB / 260 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005856/0.01429, allocations: 3.156 MB / 263.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008863/0.01517, allocations: 47.69 kB / 263.2 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.01654, allocations: 0.6521 MB / 263.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.01813, allocations: 0.7801 MB / 264.6 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.01871, allocations: 331.4 kB / 265 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.02059, allocations: 2.182 MB / 267.1 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.0215, allocations: 0.789 MB / 267.9 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.0236, allocations: 1.505 MB / 269.4 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.02471, allocations: 0.9858 MB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.02506, allocations: 224 kB / 270.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.0255, allocations: 319.7 kB / 271 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.02591, allocations: 0.6777 MB / 271.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008702/0.02678, allocations: 0.7288 MB / 272.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.02838, allocations: 1.67 MB / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.02838, allocations: 3.938 kB / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02839, allocations: 0 / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.674e-05/0.02844, allocations: 0 / 274 MB, free: 380 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.003049/0.03149, allocations: 2.34 MB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.03153, allocations: 19.98 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006067/0.03214, allocations: 359.6 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.03343, allocations: 1.073 MB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.0335, allocations: 115.5 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.03367, allocations: 164.3 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.03533, allocations: 1.271 MB / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.03538, allocations: 4 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.781e-05/0.03547, allocations: 63.98 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.949e-05/0.03554, allocations: 74.92 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.03665, allocations: 0.5869 MB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/0.04251, allocations: 6.039 MB / 286.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.04297, allocations: 262.3 kB / 286.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.04312, allocations: 109.1 kB / 286.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.04325, allocations: 48.47 kB / 286.5 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.04328, allocations: 45.83 kB / 286.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.055e-06/0.04329, allocations: 0 / 286.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.003701/0.04699, allocations: 2.047 MB / 288.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001855/0.04884, allocations: 2.488 MB / 291.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.05027, allocations: 1.389 MB / 292.5 MB, free: 13.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.05033, allocations: 37.7 kB / 292.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/0.05093, allocations: 1.144 MB / 293.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.0511, allocations: 254 kB / 293.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.05139, allocations: 333 kB / 294.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.05148, allocations: 480.7 kB / 294.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.05179, allocations: 187.7 kB / 294.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.05296, allocations: 1.56 MB / 296.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.05445, allocations: 1.934 MB / 298.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.05446, allocations: 8 kB / 298.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002047/0.05651, allocations: 1.52 MB / 299.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.05654, allocations: 20 kB / 300 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.05658, allocations: 36 kB / 300 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.05689, allocations: 119 kB / 300.1 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.0576, allocations: 395.2 kB / 300.5 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009388/0.05854, allocations: 1.837 MB / 302.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/0.05934, allocations: 135.7 kB / 302.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.05943, allocations: 95.98 kB / 302.6 MB, free: 1.605 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.0004095/0.05984, allocations: 295.6 kB / 302.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000437/0.06028, allocations: 167 kB / 303 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008567/0.06113, allocations: 0.6232 MB / 303.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.06114, allocations: 8 kB / 303.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.06114, allocations: 0 / 303.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.06115, allocations: 12.06 kB / 303.7 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.06407, allocations: 2.675 MB / 306.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.06408, allocations: 4 kB / 306.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.06431, allocations: 107.9 kB / 306.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.06465, allocations: 151.5 kB / 306.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.06468, allocations: 23.98 kB / 306.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.06708, allocations: 4.113 MB / 310.7 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00118/0.06826, allocations: 2.413 MB / 313.1 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.06941, allocations: 1.1 MB / 314.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.06972, allocations: 207 kB / 314.4 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/0.06981, allocations: 19.94 kB / 314.5 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.07012, allocations: 43.95 kB / 314.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.07022, allocations: 63.78 kB / 314.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.07026, allocations: 27.98 kB / 314.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007336/0.07099, allocations: 0.7388 MB / 315.3 MB, free: 4.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.07099, allocations: 7.969 kB / 315.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001051/0.07204, allocations: 375.9 kB / 315.7 MB, free: 3.711 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.0002527/0.07229, allocations: 167 kB / 315.9 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.07362, allocations: 1.007 MB / 316.9 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.07363, allocations: 0 / 316.9 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008168/0.07444, allocations: 0.6652 MB / 317.5 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009609/0.0754, allocations: 361.9 kB / 317.9 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.07881, allocations: 2.895 MB / 320.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.07912, allocations: 406.2 kB / 321.2 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006178/0.07974, allocations: 284.9 kB / 321.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.07993, allocations: 108.5 kB / 321.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.523e-06/0.07993, allocations: 3.938 kB / 321.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of Templates: time 0.02602/0.106, allocations: 19.8 MB / 341.4 MB, free: 9.809 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.2642259779386222]