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.0009335/0.0009335, 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.0009052/0.0009052, allocations: 168.2 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.7941/0.7941, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.092e-06/1.092e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.598e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.007629/0.007645, allocations: 9.818 MB / 261.4 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004307/0.01195, allocations: 3.334 MB / 264.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.01243, allocations: 71.5 kB / 264.8 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009573/0.01338, allocations: 0.6946 MB / 265.5 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.01469, allocations: 0.9236 MB / 266.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.01516, allocations: 423.2 kB / 266.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.01693, allocations: 3.088 MB / 269.9 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.01825, allocations: 1.348 MB / 271.2 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.01991, allocations: 2.234 MB / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.02111, allocations: 1.528 MB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002749/0.02139, allocations: 340 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.02184, allocations: 435.9 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006143/0.02245, allocations: 1.028 MB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007479/0.0232, allocations: 1.083 MB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.02529, allocations: 2.581 MB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.02529, allocations: 0 / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02529, allocations: 0 / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.02531, allocations: 0 / 280.4 MB, free: 10.16 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.002999/0.02831, allocations: 2.997 MB / 283.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.02834, allocations: 12.03 kB / 283.5 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.02908, allocations: 416.6 kB / 283.9 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.03068, allocations: 1.111 MB / 285 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.03081, allocations: 169 kB / 285.1 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/0.03134, allocations: 236.3 kB / 285.4 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.0336, allocations: 1.795 MB / 287.2 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/0.03365, allocations: 7.984 kB / 287.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.03383, allocations: 95.98 kB / 287.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.846e-05/0.03393, allocations: 104.6 kB / 287.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.03522, allocations: 0.6996 MB / 288.1 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007857/0.04308, allocations: 6.19 MB / 294.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.04415, allocations: 0.764 MB / 295 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.04488, allocations: 463.4 kB / 295.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.04506, allocations: 60.95 kB / 295.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.04509, allocations: 43.56 kB / 295.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.825e-06/0.04509, allocations: 0 / 295.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.005091/0.05018, allocations: 2.578 MB / 298.2 MB, free: 7.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.05022, allocations: 72.66 kB / 298.2 MB, free: 7.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.05125, allocations: 1.127 MB / 299.3 MB, free: 6.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.05133, allocations: 49.7 kB / 299.4 MB, free: 6.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007533/0.05209, allocations: 0.9687 MB / 300.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.05237, allocations: 467.9 kB / 300.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.05271, allocations: 275.3 kB / 301.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.05278, allocations: 301.1 kB / 301.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.05311, allocations: 178.8 kB / 301.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.05362, allocations: 0.5694 MB / 302.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.05463, allocations: 0.9284 MB / 303.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.05464, allocations: 7.938 kB / 303.1 MB, free: 2.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00161/0.05625, allocations: 1.051 MB / 304.1 MB, free: 1.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.05627, allocations: 11.94 kB / 304.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.05629, allocations: 12 kB / 304.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.05687, allocations: 252.9 kB / 304.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/0.05773, allocations: 311.5 kB / 304.7 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/0.06127, allocations: 4.69 MB / 309.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.06187, allocations: 59.94 kB / 309.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.06196, allocations: 51.98 kB / 309.5 MB, free: 11.82 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.0004416/0.0624, allocations: 212.2 kB / 309.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.06264, allocations: 147.8 kB / 309.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.06404, allocations: 0.8993 MB / 310.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.06405, allocations: 12 kB / 310.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.06406, allocations: 7.938 kB / 310.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.06407, allocations: 7.969 kB / 310.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.06772, allocations: 2.624 MB / 313.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.06773, allocations: 0 / 313.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.06849, allocations: 212.2 kB / 313.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007153/0.06921, allocations: 306.4 kB / 313.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.06928, allocations: 31.98 kB / 313.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003703/0.07298, allocations: 5.9 MB / 319.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.07298, allocations: 4 kB / 319.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.07489, allocations: 1.334 MB / 321.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.07531, allocations: 226.8 kB / 321.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.07548, allocations: 35.98 kB / 321.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.07597, allocations: 51.97 kB / 321.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.07616, allocations: 116.7 kB / 321.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.07622, allocations: 36 kB / 321.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005735/0.07679, allocations: 0.5626 MB / 322.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.07679, allocations: 0 / 322.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001325/0.07812, allocations: 0.496 MB / 322.7 MB, free: 14 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.0002816/0.0784, allocations: 172.1 kB / 322.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.07993, allocations: 1.189 MB / 324 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.67e-05/0.07995, allocations: 24.5 kB / 324.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.08128, allocations: 0.9545 MB / 325 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.08255, allocations: 430.3 kB / 325.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.08809, allocations: 4.062 MB / 329.5 MB, free: 6.973 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.08864, allocations: 0.574 MB / 330.1 MB, free: 6.371 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000613/0.08926, allocations: 222.5 kB / 330.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/0.08999, allocations: 427.1 kB / 330.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.09, allocations: 0 / 330.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of Templates: time 0.1202/0.2102, allocations: 27.31 MB / 358 MB, free: 88.3 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.147196148056537]