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.001501/0.001501, 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.001041/0.001041, allocations: 165.7 kB / 25.33 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.9726/0.9726, 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.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.683e-06/1.683e-06, allocations: 0 / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.278e-05, allocations: 2.312 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.00881/0.008832, allocations: 10.09 MB / 261.1 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0051/0.01393, allocations: 3.237 MB / 264.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006736/0.01461, allocations: 59.56 kB / 264.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.01576, allocations: 0.6985 MB / 265.1 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.01725, allocations: 0.9235 MB / 266.1 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.01783, allocations: 423.2 kB / 266.5 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.02009, allocations: 3.081 MB / 269.6 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.02141, allocations: 1.313 MB / 270.9 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.02358, allocations: 2.261 MB / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.02504, allocations: 1.516 MB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003927/0.02543, allocations: 347.9 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005431/0.02598, allocations: 443.7 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000633/0.02661, allocations: 1.028 MB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008946/0.02751, allocations: 1.087 MB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.02965, allocations: 2.566 MB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.02965, allocations: 0 / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02965, allocations: 0 / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.0297, allocations: 4 kB / 280.1 MB, free: 10.28 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.003618/0.03332, allocations: 3.361 MB / 283.5 MB, free: 6.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.03337, allocations: 8.031 kB / 283.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007831/0.03415, allocations: 0.534 MB / 284 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.03574, allocations: 1.5 MB / 285.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-05/0.03584, allocations: 177 kB / 285.7 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.03607, allocations: 236.3 kB / 285.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.03856, allocations: 1.922 MB / 287.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.03861, allocations: 11.89 kB / 287.8 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.03875, allocations: 95.98 kB / 287.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.253e-05/0.03883, allocations: 104.6 kB / 288 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.04045, allocations: 0.8738 MB / 288.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007608/0.04806, allocations: 7.864 MB / 296.8 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.04925, allocations: 0.8255 MB / 297.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/0.05005, allocations: 0.5413 MB / 298.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.05022, allocations: 60.95 kB / 298.2 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.05026, allocations: 54.38 kB / 298.3 MB, free: 7.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 2.976e-06/0.05026, allocations: 0 / 298.3 MB, free: 7.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.004709/0.05497, allocations: 3.256 MB / 301.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.055, allocations: 64.72 kB / 301.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.05622, allocations: 1.404 MB / 303 MB, free: 2.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.05628, allocations: 45.7 kB / 303 MB, free: 2.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.05687, allocations: 1.275 MB / 304.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.05712, allocations: 480 kB / 304.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.0574, allocations: 297.1 kB / 305.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.0575, allocations: 480.8 kB / 305.5 MB, free: 188 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.05789, allocations: 239.8 kB / 305.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.05851, allocations: 0.8139 MB / 306.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.05957, allocations: 1.18 MB / 307.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.05958, allocations: 7.938 kB / 307.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001793/0.06137, allocations: 1.425 MB / 309.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.06139, allocations: 16 kB / 309.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.06141, allocations: 12 kB / 309.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/0.06192, allocations: 254.5 kB / 309.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.06259, allocations: 347.5 kB / 309.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.06627, allocations: 6.61 MB / 316.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.06676, allocations: 87.88 kB / 316.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.06684, allocations: 63.98 kB / 316.6 MB, free: 4.277 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.0003552/0.06719, allocations: 260.1 kB / 316.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.06741, allocations: 226.8 kB / 317 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.06889, allocations: 1.147 MB / 318.2 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.0689, allocations: 16 kB / 318.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.06891, allocations: 4 kB / 318.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.06893, allocations: 15.97 kB / 318.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.07282, allocations: 3.29 MB / 321.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.07283, allocations: 4 kB / 321.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.07333, allocations: 223.7 kB / 321.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005766/0.07391, allocations: 278.7 kB / 322 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/0.07398, allocations: 39.98 kB / 322 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.07845, allocations: 8.333 MB / 330.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.07845, allocations: 7.938 kB / 330.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.0805, allocations: 1.713 MB / 332.1 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.08091, allocations: 314.7 kB / 332.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.08103, allocations: 36.03 kB / 332.4 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.08144, allocations: 75.92 kB / 332.5 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.08163, allocations: 128.6 kB / 332.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.08168, allocations: 39.98 kB / 332.7 MB, free: 3.371 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007717/0.08246, allocations: 0.8001 MB / 333.5 MB, free: 2.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08246, allocations: 0 / 333.5 MB, free: 2.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001118/0.08357, allocations: 499.9 kB / 334 MB, free: 2.086 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.0002814/0.08386, allocations: 202.8 kB / 334.2 MB, free: 1.875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.08552, allocations: 1.545 MB / 335.7 MB, free: 284 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.08553, allocations: 320 / 335.7 MB, free: 284 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.08659, allocations: 1.265 MB / 337 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.08798, allocations: 424 kB / 337.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.09312, allocations: 4.273 MB / 341.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.09361, allocations: 0.6599 MB / 342.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006309/0.09425, allocations: 346.2 kB / 342.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.0945, allocations: 124.5 kB / 342.8 MB, free: 8.973 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.0945, allocations: 0 / 342.8 MB, free: 8.973 MB / 330.7 MB Notification: Performance of Templates: time 0.1356/0.2301, allocations: 26.97 MB / 369.8 MB, free: 86.26 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.5565649871714413]