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.001233/0.001233, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001455/0.001455, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9486/0.9486, allocations: 158.6 MB / 187.5 MB, free: 2.949 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 2.505e-06/2.505e-06, allocations: 0 / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.263e-05, allocations: 2.312 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.008695/0.008728, allocations: 10.03 MB / 261.2 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.0133, allocations: 3.226 MB / 264.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007427/0.01405, allocations: 63.56 kB / 264.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.01521, allocations: 0.6985 MB / 265.1 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.01668, allocations: 0.9157 MB / 266.1 MB, free: 8.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.01722, allocations: 419.3 kB / 266.5 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.01929, allocations: 3.069 MB / 269.5 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.02048, allocations: 1.313 MB / 270.8 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.02205, allocations: 2.023 MB / 272.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.02348, allocations: 1.613 MB / 274.5 MB, free: 264 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.0238, allocations: 356 kB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008345/0.02464, allocations: 459.7 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006464/0.02528, allocations: 1.071 MB / 276.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008242/0.02611, allocations: 1.107 MB / 277.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.02813, allocations: 2.632 MB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.02813, allocations: 0 / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02814, allocations: 0 / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.998e-05/0.02817, allocations: 4 kB / 280.1 MB, free: 10.63 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.003718/0.03188, allocations: 3.435 MB / 283.5 MB, free: 7.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.03192, allocations: 8.031 kB / 283.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.03261, allocations: 0.5223 MB / 284.1 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.03422, allocations: 1.489 MB / 285.5 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.03432, allocations: 177 kB / 285.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.03454, allocations: 236.3 kB / 286 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.03696, allocations: 1.929 MB / 287.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.037, allocations: 3.938 kB / 287.9 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.03714, allocations: 96 kB / 288 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.293e-05/0.03723, allocations: 108.6 kB / 288.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.03891, allocations: 0.8777 MB / 289 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008174/0.04709, allocations: 8.005 MB / 297 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.0482, allocations: 0.7826 MB / 297.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.04898, allocations: 0.5344 MB / 298.3 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.04915, allocations: 56.97 kB / 298.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.04918, allocations: 50.39 kB / 298.4 MB, free: 7.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.406e-06/0.04918, allocations: 7.984 kB / 298.4 MB, free: 7.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.005183/0.05437, allocations: 3.326 MB / 301.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.0544, allocations: 64.72 kB / 301.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.05573, allocations: 1.415 MB / 303.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.05579, allocations: 49.7 kB / 303.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/0.05665, allocations: 1.279 MB / 304.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.05691, allocations: 484 kB / 305 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.0572, allocations: 293.1 kB / 305.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.0573, allocations: 476.8 kB / 305.8 MB, free: 316 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.05772, allocations: 235.8 kB / 306 MB, free: 80 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/0.05843, allocations: 0.8256 MB / 306.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.05959, allocations: 1.183 MB / 308 MB, free: 13.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.05959, allocations: 4 kB / 308 MB, free: 13.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002091/0.06168, allocations: 1.436 MB / 309.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.06171, allocations: 12 kB / 309.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.06172, allocations: 12 kB / 309.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/0.06231, allocations: 254.2 kB / 309.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007604/0.06308, allocations: 359.4 kB / 310.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.06718, allocations: 6.608 MB / 316.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009207/0.0681, allocations: 99.86 kB / 316.8 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.06819, allocations: 63.98 kB / 316.8 MB, free: 4.363 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.00059/0.06878, allocations: 256.1 kB / 317.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/0.06906, allocations: 226.8 kB / 317.3 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.07097, allocations: 1.174 MB / 318.5 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.07097, allocations: 16 kB / 318.5 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.07098, allocations: 4 kB / 318.5 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.07099, allocations: 7.984 kB / 318.5 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/0.07528, allocations: 3.345 MB / 321.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.07528, allocations: 8.062 kB / 321.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.07583, allocations: 235.6 kB / 322.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006563/0.07649, allocations: 294.2 kB / 322.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/0.07655, allocations: 35.98 kB / 322.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004642/0.0812, allocations: 8.407 MB / 330.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.0812, allocations: 7.938 kB / 330.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.08406, allocations: 1.729 MB / 332.5 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.08471, allocations: 334.7 kB / 332.9 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.08486, allocations: 32 kB / 332.9 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.08535, allocations: 83.91 kB / 333 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.08558, allocations: 128.6 kB / 333.1 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.08564, allocations: 40 kB / 333.2 MB, free: 3.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009518/0.08659, allocations: 0.8118 MB / 334 MB, free: 2.434 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.08659, allocations: 0 / 334 MB, free: 2.434 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001301/0.08789, allocations: 0.4999 MB / 334.5 MB, free: 1.934 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003217/0.08821, allocations: 210.8 kB / 334.7 MB, free: 1.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.09018, allocations: 1.542 MB / 336.2 MB, free: 124 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.09018, allocations: 4 kB / 336.2 MB, free: 120 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.09142, allocations: 1.293 MB / 337.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.09277, allocations: 435.3 kB / 337.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.09844, allocations: 4.282 MB / 342.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.09895, allocations: 0.656 MB / 342.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007355/0.09969, allocations: 350.3 kB / 343.2 MB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.09994, allocations: 120.5 kB / 343.3 MB, free: 8.777 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.09994, allocations: 0 / 343.3 MB, free: 8.777 MB / 330.7 MB Notification: Performance of Templates: time 0.1397/0.2397, allocations: 26.87 MB / 370.2 MB, free: 80.48 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.464167815865949]