Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 147.5 kB / 23.94 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 318.9 MB, free: 3.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.118e-05, allocations: 3.562 kB / 318.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007424/0.007446, allocations: 7.048 MB / 326 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.01196, allocations: 2.424 MB / 328.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.01252, allocations: 28.66 kB / 328.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.0139, allocations: 0.5211 MB / 329 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01494, allocations: 0.5038 MB / 329.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.01542, allocations: 240.5 kB / 329.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.01701, allocations: 1.491 MB / 331.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/0.01767, allocations: 383.8 kB / 331.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.01875, allocations: 0.8359 MB / 332.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.01937, allocations: 429.6 kB / 332.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.01953, allocations: 139.3 kB / 332.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.01987, allocations: 172.1 kB / 333.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.02012, allocations: 277.2 kB / 333.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.02064, allocations: 456.3 kB / 333.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.02255, allocations: 1.702 MB / 335.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.02255, allocations: 0 / 335.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02256, allocations: 0 / 335.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.02257, allocations: 0 / 335.5 MB, free: 8.91 MB / 302.1 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.002397/0.02497, allocations: 1.369 MB / 336.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.025, allocations: 11.14 kB / 336.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005605/0.02556, allocations: 179.8 kB / 337.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.02676, allocations: 0.6603 MB / 337.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.02682, allocations: 72.5 kB / 337.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.02695, allocations: 95.25 kB / 337.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.02857, allocations: 0.9966 MB / 338.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.0286, allocations: 9.391 kB / 338.9 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/0.02869, allocations: 41.16 kB / 339 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.02871, allocations: 24.25 kB / 339 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.02996, allocations: 0.6242 MB / 339.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/0.03466, allocations: 3.356 MB / 343 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.03523, allocations: 260.6 kB / 343.2 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.03552, allocations: 136.8 kB / 343.4 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.03554, allocations: 4 kB / 343.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.03557, allocations: 38.56 kB / 343.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.03557, allocations: 0 / 343.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002291/0.03787, allocations: 1.053 MB / 344.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.03793, allocations: 81.11 kB / 344.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009917/0.03893, allocations: 0.7504 MB / 345.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.03896, allocations: 29.7 kB / 345.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.03941, allocations: 0.5889 MB / 345.9 MB, free: 132 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.03954, allocations: 142.9 kB / 346 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.03972, allocations: 122.6 kB / 346.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.03992, allocations: 382.8 kB / 346.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.04026, allocations: 145.9 kB / 346.7 MB, free: 15.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.04088, allocations: 489.9 kB / 347.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009529/0.04183, allocations: 0.6324 MB / 347.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.04184, allocations: 4 kB / 347.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00124/0.04308, allocations: 0.6893 MB / 348.5 MB, free: 13.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.0431, allocations: 8 kB / 348.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.04311, allocations: 12 kB / 348.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.04327, allocations: 36.84 kB / 348.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.04378, allocations: 155.7 kB / 348.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.0449, allocations: 1.256 MB / 349.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.0454, allocations: 47.81 kB / 350 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.04545, allocations: 32 kB / 350 MB, free: 11.58 MB / 318.1 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.0003604/0.04581, allocations: 257.5 kB / 350.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.04592, allocations: 75.53 kB / 350.3 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000753/0.04667, allocations: 373.5 kB / 350.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.04668, allocations: 3.938 kB / 350.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.04669, allocations: 4 kB / 350.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.04669, allocations: 0 / 350.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.04832, allocations: 1.036 MB / 351.7 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.04833, allocations: 0 / 351.7 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.04865, allocations: 75.89 kB / 351.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.768e-05/0.04874, allocations: 20.91 kB / 351.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.04876, allocations: 11.98 kB / 351.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009449/0.04971, allocations: 1.252 MB / 353.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.04971, allocations: 0 / 353.1 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.05072, allocations: 0.625 MB / 353.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.05093, allocations: 103.5 kB / 353.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.991e-05/0.05102, allocations: 12 kB / 353.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.05137, allocations: 28.06 kB / 353.9 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.05145, allocations: 31.89 kB / 353.9 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.05147, allocations: 12 kB / 353.9 MB, free: 7.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006611/0.05213, allocations: 0.499 MB / 354.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.05213, allocations: 0 / 354.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006956/0.05283, allocations: 191.9 kB / 354.6 MB, free: 6.762 MB / 318.1 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.0001999/0.05303, allocations: 119.2 kB / 354.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000937/0.05396, allocations: 0.4915 MB / 355.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.05396, allocations: 0 / 355.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.05439, allocations: 264.3 kB / 355.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.0553, allocations: 183 kB / 355.6 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.05794, allocations: 1.582 MB / 357.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.05837, allocations: 408.7 kB / 357.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003054/0.05868, allocations: 94.3 kB / 357.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.0588, allocations: 52.48 kB / 357.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.0588, allocations: 0 / 357.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of Templates: time 0.01781/0.07661, allocations: 8.922 MB / 366.7 MB, free: 10.75 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.610354300588369]