Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.0008789/0.0008789, allocations: 83.73 kB / 21.97 MB, free: 2.594 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.0009256/0.0009256, allocations: 178.1 kB / 25.34 MB, free: 9.414 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.9602/0.9602, 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.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 3.938 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.445e-05, allocations: 6.25 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01123/0.01126, allocations: 7.898 MB / 259 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006001/0.01726, allocations: 2.588 MB / 261.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.01864, allocations: 27.88 kB / 261.6 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.02049, allocations: 0.5207 MB / 262.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.02264, allocations: 0.5077 MB / 262.6 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.02335, allocations: 239.7 kB / 262.8 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.02592, allocations: 1.482 MB / 264.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008733/0.02679, allocations: 379.2 kB / 264.7 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.02841, allocations: 0.8495 MB / 265.5 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.02902, allocations: 458.6 kB / 266 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.02917, allocations: 132 kB / 266.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.02953, allocations: 172 kB / 266.3 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.02968, allocations: 282.9 kB / 266.6 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.03006, allocations: 450.9 kB / 267 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.03109, allocations: 0.9067 MB / 267.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.03109, allocations: 0 / 267.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.0311, allocations: 0 / 267.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.03111, allocations: 0 / 267.9 MB, free: 6.535 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001729/0.03284, allocations: 1.484 MB / 269.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.03291, allocations: 15.98 kB / 269.4 MB, free: 4.996 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.03335, allocations: 252 kB / 269.7 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009103/0.03426, allocations: 0.6529 MB / 270.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.03431, allocations: 81.98 kB / 270.4 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.03442, allocations: 96 kB / 270.5 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009943/0.03541, allocations: 0.7832 MB / 271.3 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.03544, allocations: 11.95 kB / 271.3 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.0355, allocations: 36 kB / 271.3 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.03551, allocations: 24 kB / 271.3 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.03604, allocations: 347.6 kB / 271.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00345/0.03949, allocations: 3.639 MB / 275.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.03985, allocations: 199 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.03998, allocations: 84.17 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.04001, allocations: 8 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.04004, allocations: 41.38 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 4.348e-06/0.04004, allocations: 0 / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001442/0.04149, allocations: 0.8373 MB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.04153, allocations: 81.11 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.04217, allocations: 0.7413 MB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.04219, allocations: 33.7 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.04262, allocations: 0.6463 MB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.04271, allocations: 138.9 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.04284, allocations: 132.2 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.04305, allocations: 0.5586 MB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.04316, allocations: 69.95 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.04372, allocations: 0.5379 MB / 279.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.0442, allocations: 0.6294 MB / 280 MB, free: 9.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.04421, allocations: 4 kB / 280 MB, free: 9.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006308/0.04484, allocations: 0.5745 MB / 280.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.04487, allocations: 12 kB / 280.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.04488, allocations: 8 kB / 280.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.04506, allocations: 35.67 kB / 280.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.04536, allocations: 152.2 kB / 280.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.04647, allocations: 1.751 MB / 282.6 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.04681, allocations: 35.89 kB / 282.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.04717, allocations: 32.05 kB / 282.6 MB, free: 6.785 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.04739, allocations: 212.4 kB / 282.8 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.649e-05/0.04747, allocations: 91.48 kB / 282.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.04785, allocations: 272.2 kB / 283.2 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.04785, allocations: 3.938 kB / 283.2 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.04786, allocations: 7.984 kB / 283.2 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.04786, allocations: 3.938 kB / 283.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.04898, allocations: 1.029 MB / 284.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.04898, allocations: 8.031 kB / 284.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.04916, allocations: 63.91 kB / 284.3 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-05/0.04925, allocations: 31.61 kB / 284.3 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.04927, allocations: 8 kB / 284.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008055/0.05007, allocations: 1.732 MB / 286.1 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.05008, allocations: 4 kB / 286.1 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.05057, allocations: 0.5538 MB / 286.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.05075, allocations: 99.48 kB / 286.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.0508, allocations: 8 kB / 286.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.05096, allocations: 19.98 kB / 286.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.05102, allocations: 27.95 kB / 286.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.05104, allocations: 12.06 kB / 286.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004121/0.05145, allocations: 478.8 kB / 287.3 MB, free: 1.871 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.05145, allocations: 0 / 287.3 MB, free: 1.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005819/0.05203, allocations: 191.9 kB / 287.5 MB, free: 1.684 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.0002272/0.05226, allocations: 115.1 kB / 287.6 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006045/0.05286, allocations: 468.1 kB / 288 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.05287, allocations: 4 kB / 288 MB, free: 1.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.05308, allocations: 281.5 kB / 288.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.0537, allocations: 202 kB / 288.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.05617, allocations: 1.582 MB / 290.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.05629, allocations: 162.6 kB / 290.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.05653, allocations: 90.3 kB / 290.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.05663, allocations: 52.5 kB / 290.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of SimCode: time 2.034e-06/0.05663, allocations: 0 / 290.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of Templates: time 0.01479/0.07142, allocations: 9.568 MB / 300 MB, free: 5.098 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.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.0939034642651677]