Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001828/0.001828, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002211/0.002211, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.66/1.66, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 59.91 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.25, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01141/0.2614, allocations: 8.461 MB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.2672, allocations: 2.947 MB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.268, allocations: 27.88 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.2695, allocations: 0.5627 MB / 444.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.2708, allocations: 0.5854 MB / 444.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.2714, allocations: 319.5 kB / 445.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001953/0.2734, allocations: 1.763 MB / 447 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007186/0.2741, allocations: 429.3 kB / 447.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.275, allocations: 0.6889 MB / 448.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.2759, allocations: 0.6451 MB / 448.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.2761, allocations: 164 kB / 448.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.2765, allocations: 196 kB / 449.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.2768, allocations: 330.8 kB / 449.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006858/0.2774, allocations: 0.6612 MB / 450.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.2796, allocations: 2.008 MB / 452.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2796, allocations: 0 / 452.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2796, allocations: 0 / 452.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.2797, allocations: 0 / 452.1 MB, free: 2.84 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.003211/0.2829, allocations: 1.759 MB / 453.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2829, allocations: 8.031 kB / 453.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.2835, allocations: 207.9 kB / 454.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.2849, allocations: 0.7679 MB / 454.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.2851, allocations: 163.9 kB / 455 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.2853, allocations: 116.1 kB / 455.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.2875, allocations: 1.577 MB / 456.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.2876, allocations: 4 kB / 456.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/0.2877, allocations: 40 kB / 456.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.2877, allocations: 31.98 kB / 456.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.2894, allocations: 0.7534 MB / 457.5 MB, free: 13.12 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.005558/0.295, allocations: 3.201 MB / 460.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.2965, allocations: 0.539 MB / 461.3 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.297, allocations: 246.6 kB / 461.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.2971, allocations: 16.5 kB / 461.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000689/0.2978, allocations: 315.9 kB / 461.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.835e-06/0.2978, allocations: 0 / 461.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004712/0.3025, allocations: 1.853 MB / 463.7 MB, free: 6.754 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003078/0.3028, allocations: 483.3 kB / 464.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.3042, allocations: 0.9634 MB / 465.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.3043, allocations: 37.7 kB / 465.2 MB, free: 5.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.3048, allocations: 0.6752 MB / 465.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.3051, allocations: 245.9 kB / 466.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.3054, allocations: 194.8 kB / 466.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3056, allocations: 345.9 kB / 466.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.3062, allocations: 309.8 kB / 466.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.3074, allocations: 1.165 MB / 468.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.3089, allocations: 0.9451 MB / 469 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3089, allocations: 0 / 469 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002175/0.311, allocations: 1.184 MB / 470.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.3111, allocations: 63.41 kB / 470.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.3111, allocations: 20.36 kB / 470.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.3117, allocations: 172.1 kB / 470.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.3124, allocations: 207.6 kB / 470.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.3168, allocations: 3.599 MB / 474.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.3177, allocations: 67.91 kB / 474.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.3178, allocations: 44 kB / 474.4 MB, free: 11.16 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.0005111/0.3183, allocations: 301.7 kB / 474.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.3184, allocations: 115.3 kB / 474.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.3199, allocations: 0.6889 MB / 475.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.3199, allocations: 11.98 kB / 475.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.32, allocations: 4 kB / 475.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/0.3214, allocations: 0.9473 MB / 476.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/0.3242, allocations: 1.507 MB / 477.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3242, allocations: 4 kB / 477.9 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.3247, allocations: 107.8 kB / 478 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/0.3251, allocations: 129.8 kB / 478.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.3252, allocations: 15.98 kB / 478.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.3288, allocations: 3.3 MB / 481.5 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3288, allocations: 4.031 kB / 481.5 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.3308, allocations: 1.041 MB / 482.5 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.3312, allocations: 163.2 kB / 482.7 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3313, allocations: 20 kB / 482.7 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.3319, allocations: 39.84 kB / 482.7 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.332, allocations: 64.39 kB / 482.8 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.332, allocations: 16 kB / 482.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009176/0.333, allocations: 0.6384 MB / 483.5 MB, free: 1.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 483.5 MB, free: 1.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001081/0.334, allocations: 304 kB / 483.8 MB, free: 1.309 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.0002533/0.3343, allocations: 147.2 kB / 483.9 MB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.3364, allocations: 1.13 MB / 485 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3364, allocations: 8.875 kB / 485 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009523/0.3374, allocations: 0.5273 MB / 485.6 MB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.3386, allocations: 286.6 kB / 485.8 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.3425, allocations: 2.284 MB / 488.1 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/0.343, allocations: 0.4891 MB / 488.6 MB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.3432, allocations: 79.42 kB / 488.7 MB, free: 12.17 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3432, allocations: 0 / 488.7 MB, free: 12.17 MB / 398.1 MB Notification: Performance of Templates: time 0.03498/0.3782, allocations: 26.02 MB / 0.5027 GB, free: 2.234 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.464223575312644]