Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_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.001011/0.001011, allocations: 71.75 kB / 21.97 MB, free: 2.602 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.00108/0.00108, allocations: 171.5 kB / 25.33 MB, free: 8.996 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.9339/0.9339, allocations: 158.6 MB / 187.2 MB, free: 2.941 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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.609e-05, allocations: 6.312 kB / 251.1 MB, free: 7.484 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01383/0.01385, allocations: 16.32 MB / 267.4 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.02476, allocations: 5.383 MB / 272.8 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.02713, allocations: 111.3 kB / 272.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.02979, allocations: 1.243 MB / 274.1 MB, free: 332 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.03348, allocations: 1.646 MB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.0353, allocations: 1.075 MB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005212/0.04051, allocations: 5.307 MB / 282.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.04292, allocations: 2.132 MB / 284.3 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.04669, allocations: 3.333 MB / 287.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.04922, allocations: 2.412 MB / 290 MB, free: 296 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008971/0.05012, allocations: 0.6094 MB / 290.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.0512, allocations: 0.8237 MB / 291.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008293/0.05203, allocations: 1.488 MB / 293 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.05373, allocations: 1.809 MB / 294.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.05765, allocations: 4.256 MB / 299 MB, free: 7.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.05765, allocations: 3.938 kB / 299 MB, free: 7.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.05765, allocations: 0 / 299 MB, free: 7.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001107/0.05776, allocations: 0 / 299 MB, free: 7.277 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.00694/0.0647, allocations: 5.65 MB / 304.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.06475, allocations: 11.98 kB / 304.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.06781, allocations: 1.52 MB / 306.2 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.0709, allocations: 2.619 MB / 308.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.07108, allocations: 304.5 kB / 309.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.07146, allocations: 400.3 kB / 309.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004216/0.07568, allocations: 3.199 MB / 312.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.735e-05/0.07574, allocations: 3.984 kB / 312.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.07598, allocations: 171.9 kB / 312.9 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.0761, allocations: 168 kB / 313 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.07894, allocations: 1.511 MB / 314.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.09215, allocations: 13.47 MB / 328 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.09491, allocations: 2.373 MB / 330.4 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.09614, allocations: 0.8847 MB / 331.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003952/0.1001, allocations: 3.035 MB / 334.3 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.1001, allocations: 54.7 kB / 334.4 MB, free: 3.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=156): time 2.916e-06/0.1001, allocations: 0 / 334.4 MB, free: 3.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.005311/0.1054, allocations: 3.598 MB / 338 MB, free: 15.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1055, allocations: 68.72 kB / 338 MB, free: 15.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.1072, allocations: 1.844 MB / 339.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.1072, allocations: 53.7 kB / 339.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009591/0.1082, allocations: 2.006 MB / 341.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.1085, allocations: 0.585 MB / 342.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/0.1089, allocations: 417.7 kB / 342.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.109, allocations: 476.8 kB / 343.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.1095, allocations: 300.1 kB / 343.7 MB, free: 9.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.1105, allocations: 1.352 MB / 345 MB, free: 8.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.1121, allocations: 1.804 MB / 346.8 MB, free: 5.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.1121, allocations: 8 kB / 346.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00213/0.1142, allocations: 1.82 MB / 348.7 MB, free: 3.961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.1143, allocations: 12 kB / 348.7 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.1143, allocations: 24 kB / 348.7 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.1145, allocations: 103.9 kB / 348.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.1156, allocations: 0.5265 MB / 349.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.1167, allocations: 2.195 MB / 351.5 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.1174, allocations: 115.9 kB / 351.6 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.1175, allocations: 92 kB / 351.7 MB, free: 0.7656 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005714/0.1181, allocations: 303.8 kB / 352 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.1183, allocations: 286.5 kB / 352.3 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1395/0.2578, allocations: 1.346 MB / 353.7 MB, free: 75.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.2579, allocations: 18.58 kB / 353.7 MB, free: 75.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.2579, allocations: 6.188 kB / 353.7 MB, free: 75.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2579, allocations: 8.734 kB / 353.7 MB, free: 75.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/0.2635, allocations: 3.972 MB / 357.7 MB, free: 75.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2635, allocations: 0 / 357.7 MB, free: 75.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.2642, allocations: 277.9 kB / 357.9 MB, free: 75.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/0.2647, allocations: 268.4 kB / 358.2 MB, free: 75.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.2648, allocations: 37.84 kB / 358.2 MB, free: 75.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.2679, allocations: 7.195 MB / 365.4 MB, free: 69.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2679, allocations: 3.969 kB / 365.4 MB, free: 69.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.2701, allocations: 1.874 MB / 367.3 MB, free: 68.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.2706, allocations: 394.8 kB / 367.7 MB, free: 68.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.2708, allocations: 39.34 kB / 367.7 MB, free: 68.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/0.2713, allocations: 72.77 kB / 367.8 MB, free: 68.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.2715, allocations: 121.1 kB / 367.9 MB, free: 68.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.2716, allocations: 48.25 kB / 368 MB, free: 68.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009934/0.2726, allocations: 1.028 MB / 369 MB, free: 68.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2726, allocations: 0 / 369 MB, free: 68.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001642/0.2742, allocations: 0.6587 MB / 369.7 MB, free: 68.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002879/0.2745, allocations: 180.8 kB / 369.8 MB, free: 68.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.2761, allocations: 1.305 MB / 371.1 MB, free: 68.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2761, allocations: 6.688 kB / 371.1 MB, free: 68.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009069/0.277, allocations: 1.16 MB / 372.3 MB, free: 67.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.2782, allocations: 0.516 MB / 372.8 MB, free: 67.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.285, allocations: 6.104 MB / 378.9 MB, free: 65.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.2856, allocations: 0.9326 MB / 379.9 MB, free: 64.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000779/0.2864, allocations: 465.1 kB / 380.3 MB, free: 64.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.2867, allocations: 155.9 kB / 380.5 MB, free: 64.48 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2867, allocations: 0 / 380.5 MB, free: 64.48 MB / 330.7 MB Notification: Performance of Templates: time 0.0303/0.317, allocations: 29.17 MB / 409.6 MB, free: 36.84 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_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.9845059900544584]