Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.001351/0.001351, allocations: 85.95 kB / 23 MB, free: 1.504 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.001175/0.001175, allocations: 171.6 kB / 26.39 MB, free: 7.988 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.9702/0.9702, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.729e-05, allocations: 6.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01039/0.01042, allocations: 9.81 MB / 262.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007816/0.01823, allocations: 3.218 MB / 265.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.02067, allocations: 67.5 kB / 265.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.02297, allocations: 0.6946 MB / 266.1 MB, free: 9.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.02672, allocations: 0.9158 MB / 267 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.02792, allocations: 423.2 kB / 267.4 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003977/0.0319, allocations: 3.085 MB / 270.5 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.03399, allocations: 1.313 MB / 271.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.03686, allocations: 2.257 MB / 274 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.03917, allocations: 1.535 MB / 275.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007072/0.03987, allocations: 340 kB / 275.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007936/0.04067, allocations: 451.7 kB / 276.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007431/0.04141, allocations: 1.017 MB / 277.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.04287, allocations: 1.087 MB / 278.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.04589, allocations: 2.574 MB / 281 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.04589, allocations: 0 / 281 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.04589, allocations: 0 / 281 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.04602, allocations: 0 / 281 MB, free: 10.3 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.004163/0.05018, allocations: 3.279 MB / 284.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.05022, allocations: 12.03 kB / 284.3 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006968/0.05091, allocations: 0.5224 MB / 284.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.05242, allocations: 1.414 MB / 286.3 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/0.05252, allocations: 181 kB / 286.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.05274, allocations: 232.3 kB / 286.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.05467, allocations: 1.769 MB / 288.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/0.05471, allocations: 11.92 kB / 288.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000393/0.0551, allocations: 96 kB / 288.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-05/0.05517, allocations: 104.6 kB / 288.6 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009888/0.05616, allocations: 0.693 MB / 289.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008346/0.06451, allocations: 7.742 MB / 297.1 MB, free: 9.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.06551, allocations: 0.7668 MB / 297.8 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.06619, allocations: 498.2 kB / 298.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.06635, allocations: 48.98 kB / 298.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.06638, allocations: 54.33 kB / 298.4 MB, free: 8.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.256e-06/0.06639, allocations: 0 / 298.4 MB, free: 8.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.005071/0.07146, allocations: 2.606 MB / 301 MB, free: 5.684 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.07149, allocations: 72.7 kB / 301.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.07296, allocations: 1.36 MB / 302.5 MB, free: 4.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.07304, allocations: 45.7 kB / 302.5 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.07407, allocations: 1.29 MB / 303.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.07443, allocations: 483.9 kB / 304.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.07483, allocations: 304.9 kB / 304.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.07494, allocations: 480.8 kB / 305 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.07528, allocations: 183.8 kB / 305.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.07594, allocations: 0.767 MB / 306 MB, free: 432 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.07709, allocations: 1.086 MB / 307.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.0771, allocations: 4 kB / 307.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002065/0.07916, allocations: 1.307 MB / 308.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.07918, allocations: 8.344 kB / 308.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.0792, allocations: 16 kB / 308.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.07983, allocations: 246.5 kB / 308.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/0.08073, allocations: 319.5 kB / 309 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004317/0.08505, allocations: 6.44 MB / 315.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/0.08595, allocations: 59.92 kB / 315.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.08604, allocations: 52 kB / 315.5 MB, free: 6.285 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006627/0.08671, allocations: 256.1 kB / 315.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.08707, allocations: 226.9 kB / 316 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/0.08907, allocations: 1.045 MB / 317 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.08908, allocations: 12 kB / 317 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.08909, allocations: 7.984 kB / 317 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.0891, allocations: 7.984 kB / 317.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/0.09406, allocations: 3.16 MB / 320.2 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.09406, allocations: 7.984 kB / 320.2 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.09472, allocations: 199.7 kB / 320.4 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007107/0.09543, allocations: 268.8 kB / 320.7 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.09552, allocations: 35.98 kB / 320.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005047/0.1006, allocations: 8.158 MB / 328.9 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.1006, allocations: 11.94 kB / 328.9 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.103, allocations: 1.561 MB / 330.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/0.1036, allocations: 286.7 kB / 330.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.1038, allocations: 32.06 kB / 330.8 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.1043, allocations: 55.97 kB / 330.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.1046, allocations: 112.7 kB / 330.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.1046, allocations: 31.98 kB / 330.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.1057, allocations: 0.7412 MB / 331.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1057, allocations: 0 / 331.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001551/0.1073, allocations: 0.4921 MB / 332.2 MB, free: 4.855 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003184/0.1076, allocations: 206.8 kB / 332.4 MB, free: 4.641 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.1095, allocations: 1.428 MB / 333.8 MB, free: 3.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1095, allocations: 3.984 kB / 333.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.1108, allocations: 1.219 MB / 335 MB, free: 1.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.1123, allocations: 428.3 kB / 335.5 MB, free: 1.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006598/0.1189, allocations: 4.225 MB / 339.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.1196, allocations: 0.6521 MB / 340.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007456/0.1204, allocations: 226.5 kB / 340.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008689/0.1212, allocations: 481.9 kB / 341 MB, free: 11.72 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.1212, allocations: 0 / 341 MB, free: 11.72 MB / 330.7 MB Notification: Performance of Templates: time 0.1364/0.2577, allocations: 28 MB / 369 MB, free: 87.55 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.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.567277225200087]