Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002219/0.002219, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 59.91 kB / 378.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2433, allocations: 53.41 MB / 431.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01161/0.2549, allocations: 8.464 MB / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005847/0.2607, allocations: 2.952 MB / 443.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.2617, allocations: 31.88 kB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.2633, allocations: 0.555 MB / 443.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.2649, allocations: 0.5815 MB / 444.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.2656, allocations: 323.5 kB / 444.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.2677, allocations: 1.759 MB / 446.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.2685, allocations: 421.4 kB / 446.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009708/0.2695, allocations: 0.7005 MB / 447.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008631/0.2703, allocations: 0.6373 MB / 448.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.2705, allocations: 160 kB / 448.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.2709, allocations: 196 kB / 448.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.2712, allocations: 342.8 kB / 448.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006979/0.2719, allocations: 0.6611 MB / 449.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.2742, allocations: 2.004 MB / 451.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2742, allocations: 0 / 451.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2742, allocations: 0 / 451.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.2743, allocations: 0 / 451.4 MB, free: 2.633 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003379/0.2777, allocations: 1.759 MB / 453.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2777, allocations: 15.98 kB / 453.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/0.2783, allocations: 203.9 kB / 453.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.2798, allocations: 0.7681 MB / 454.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.28, allocations: 167.8 kB / 454.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.2802, allocations: 112.1 kB / 454.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.2825, allocations: 1.577 MB / 456 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.2825, allocations: 0 / 456 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.2826, allocations: 48 kB / 456.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.2826, allocations: 24 kB / 456.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.2843, allocations: 0.7574 MB / 456.8 MB, free: 12.91 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/0.2901, allocations: 3.205 MB / 460 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.2917, allocations: 0.5412 MB / 460.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.2922, allocations: 254.7 kB / 460.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/0.2922, allocations: 8.5 kB / 460.8 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006998/0.2929, allocations: 323.8 kB / 461.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.796e-06/0.2929, allocations: 0 / 461.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004813/0.2977, allocations: 1.853 MB / 463 MB, free: 6.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002776/0.298, allocations: 479.3 kB / 463.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.2994, allocations: 0.9595 MB / 464.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.364e-05/0.2995, allocations: 45.7 kB / 464.5 MB, free: 4.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/0.3001, allocations: 0.6673 MB / 465.1 MB, free: 4.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.3003, allocations: 245.9 kB / 465.4 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.3006, allocations: 202.8 kB / 465.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3007, allocations: 341.9 kB / 465.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/0.3014, allocations: 301.9 kB / 466.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.3026, allocations: 1.165 MB / 467.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.3041, allocations: 0.9451 MB / 468.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.3042, allocations: 4 kB / 468.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002337/0.3065, allocations: 1.185 MB / 469.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.3066, allocations: 63.39 kB / 469.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.3066, allocations: 15.94 kB / 469.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.3072, allocations: 169.8 kB / 469.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.3079, allocations: 207.6 kB / 470 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/0.3126, allocations: 3.605 MB / 473.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/0.3135, allocations: 59.92 kB / 473.6 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.3136, allocations: 48.05 kB / 473.7 MB, free: 10.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005196/0.3141, allocations: 301.6 kB / 474 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3143, allocations: 119.4 kB / 474.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3158, allocations: 0.6851 MB / 474.8 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3158, allocations: 12 kB / 474.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3158, allocations: 0 / 474.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001512/0.3173, allocations: 0.9589 MB / 475.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.3202, allocations: 1.507 MB / 477.2 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3202, allocations: 3.984 kB / 477.2 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.3207, allocations: 111.8 kB / 477.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/0.3212, allocations: 121.9 kB / 477.5 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.3212, allocations: 15.98 kB / 477.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.3249, allocations: 3.303 MB / 480.8 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3249, allocations: 0 / 480.8 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.327, allocations: 1.037 MB / 481.8 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/0.3275, allocations: 171.2 kB / 482 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.3277, allocations: 20 kB / 482 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006758/0.3284, allocations: 44.03 kB / 482.1 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.3286, allocations: 56.39 kB / 482.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.3286, allocations: 20 kB / 482.1 MB, free: 2.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001036/0.3296, allocations: 0.6384 MB / 482.8 MB, free: 1.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3296, allocations: 0 / 482.8 MB, free: 1.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001195/0.3308, allocations: 307.9 kB / 483.1 MB, free: 1.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.3311, allocations: 143 kB / 483.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.3334, allocations: 1.134 MB / 484.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.3334, allocations: 0 / 484.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3344, allocations: 0.5318 MB / 484.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.336, allocations: 297.5 kB / 485.2 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.3406, allocations: 2.235 MB / 487.4 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.3412, allocations: 0.4968 MB / 487.9 MB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005644/0.3418, allocations: 124.7 kB / 488 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.342, allocations: 71.42 kB / 488.1 MB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 1.483e-06/0.342, allocations: 0 / 488.1 MB, free: 11.88 MB / 398.1 MB Notification: Performance of Templates: time 0.03568/0.3777, allocations: 18.93 MB / 0.4951 GB, free: 9.277 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.252157490700483]