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.001194/0.001194, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001145/0.001145, allocations: 163.3 kB / 25.75 MB, free: 8.582 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.9192/0.9192, allocations: 158.6 MB / 187.5 MB, free: 2.547 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.402e-06/1.402e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.532e-05, allocations: 2.312 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.008609/0.008634, allocations: 8.904 MB / 260 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005782/0.01442, allocations: 3.136 MB / 263.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.01563, allocations: 47.69 kB / 263.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.01734, allocations: 0.656 MB / 263.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.0195, allocations: 0.7723 MB / 264.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.02029, allocations: 335.4 kB / 265 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.02274, allocations: 2.174 MB / 267.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.02391, allocations: 0.7929 MB / 267.9 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.02604, allocations: 1.36 MB / 269.3 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.02778, allocations: 1.037 MB / 270.3 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.02827, allocations: 228 kB / 270.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.02893, allocations: 323.8 kB / 270.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006513/0.02959, allocations: 0.7128 MB / 271.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.03066, allocations: 0.7483 MB / 272.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.03298, allocations: 1.709 MB / 274 MB, free: 0.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.03298, allocations: 0 / 274 MB, free: 0.707 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.03298, allocations: 0 / 274 MB, free: 0.707 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.646e-05/0.03307, allocations: 0 / 274 MB, free: 0.707 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.004066/0.03714, allocations: 2.39 MB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.03718, allocations: 15.98 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.03799, allocations: 367.5 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.03977, allocations: 1.054 MB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.223e-05/0.03986, allocations: 119.4 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.04007, allocations: 152.3 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.04233, allocations: 1.283 MB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.04238, allocations: 4 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.0425, allocations: 60 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.664e-05/0.0426, allocations: 82.8 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.04413, allocations: 0.5947 MB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008345/0.05247, allocations: 6.125 MB / 286.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.05305, allocations: 229.2 kB / 286.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.05326, allocations: 112.8 kB / 286.6 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.05344, allocations: 44.47 kB / 286.6 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.05347, allocations: 41.89 kB / 286.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.277e-06/0.05348, allocations: 0 / 286.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.004625/0.0581, allocations: 2.082 MB / 288.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001925/0.06003, allocations: 2.5 MB / 291.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.06194, allocations: 1.4 MB / 292.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/0.06203, allocations: 37.7 kB / 292.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000775/0.0628, allocations: 1.14 MB / 293.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.06303, allocations: 258 kB / 294.1 MB, free: 11.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003759/0.06341, allocations: 333 kB / 294.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.06352, allocations: 476.8 kB / 294.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.06392, allocations: 183.9 kB / 295.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.06505, allocations: 1.568 MB / 296.6 MB, free: 8.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.06685, allocations: 1.934 MB / 298.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/0.06687, allocations: 12 kB / 298.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.002527/0.0694, allocations: 1.515 MB / 300.1 MB, free: 4.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.06943, allocations: 16 kB / 300.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/0.06947, allocations: 36.88 kB / 300.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000409/0.06987, allocations: 139 kB / 300.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/0.07084, allocations: 395.3 kB / 300.7 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.07211, allocations: 1.92 MB / 302.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/0.07289, allocations: 143.6 kB / 302.7 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/0.07298, allocations: 99.98 kB / 302.8 MB, free: 1.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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003949/0.07337, allocations: 283.7 kB / 303.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.07358, allocations: 171 kB / 303.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009103/0.07449, allocations: 0.6427 MB / 303.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.07449, allocations: 4 kB / 303.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.0745, allocations: 8.062 kB / 303.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.0745, allocations: 3.984 kB / 303.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.07767, allocations: 2.649 MB / 306.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.07768, allocations: 7.938 kB / 306.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.07792, allocations: 111.9 kB / 306.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003861/0.07831, allocations: 154.8 kB / 306.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.07834, allocations: 19.98 kB / 306.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.08064, allocations: 4.203 MB / 311.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001319/0.08196, allocations: 2.417 MB / 313.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.08322, allocations: 1.104 MB / 314.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.0836, allocations: 215 kB / 314.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.08371, allocations: 16 kB / 314.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.08407, allocations: 59.91 kB / 314.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.08419, allocations: 59.78 kB / 314.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.08422, allocations: 27.98 kB / 315 MB, free: 4.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008058/0.08503, allocations: 0.7504 MB / 315.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08503, allocations: 0 / 315.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001159/0.08619, allocations: 380 kB / 316.1 MB, free: 3.68 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 {(2,1,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.0002677/0.08646, allocations: 175 kB / 316.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.08787, allocations: 1.035 MB / 317.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.08787, allocations: 0 / 317.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006696/0.08854, allocations: 0.7003 MB / 318 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.08957, allocations: 370.2 kB / 318.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.09343, allocations: 2.903 MB / 321.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.09378, allocations: 406.2 kB / 321.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006174/0.09439, allocations: 288.9 kB / 321.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.09458, allocations: 104.5 kB / 322 MB, free: 13.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.09458, allocations: 0 / 322 MB, free: 13.48 MB / 314.7 MB Notification: Performance of Templates: time 0.02545/0.12, allocations: 19.62 MB / 341.7 MB, free: 9.867 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.2473149120341986]