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.001757/0.001757, allocations: 111 kB / 21.19 MB, free: 0.6758 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.002154/0.002154, allocations: 215.5 kB / 24.48 MB, free: 3.98 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.458/1.458, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.001543/0.001543, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2152, allocations: 53.37 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01105/0.2263, allocations: 8.465 MB / 440.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.2317, allocations: 2.947 MB / 443.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.2324, allocations: 31.88 kB / 443.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.2338, allocations: 0.5628 MB / 444.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.235, allocations: 0.5815 MB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.2356, allocations: 319.5 kB / 445.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.2374, allocations: 1.763 MB / 447 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006877/0.2381, allocations: 453.4 kB / 447.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007954/0.2388, allocations: 0.6927 MB / 448.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008722/0.2397, allocations: 0.7506 MB / 448.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.2399, allocations: 156 kB / 449.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.2403, allocations: 196 kB / 449.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.2406, allocations: 338.8 kB / 449.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.2413, allocations: 0.6573 MB / 450.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.2436, allocations: 2.004 MB / 452.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2436, allocations: 7.984 kB / 452.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2436, allocations: 0 / 452.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.2436, allocations: 0 / 452.2 MB, free: 2.723 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.003538/0.2471, allocations: 1.763 MB / 454 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2472, allocations: 8.031 kB / 454 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/0.2478, allocations: 207.9 kB / 454.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.2493, allocations: 0.7681 MB / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.2494, allocations: 171.7 kB / 455.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.2496, allocations: 112.1 kB / 455.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.2521, allocations: 1.577 MB / 456.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.2521, allocations: 3.938 kB / 456.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.2522, allocations: 48 kB / 456.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.2522, allocations: 28 kB / 456.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.2538, allocations: 0.7534 MB / 457.7 MB, free: 12.99 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.005906/0.2597, allocations: 3.193 MB / 460.9 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.2614, allocations: 0.5427 MB / 461.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.2619, allocations: 242.7 kB / 461.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.767e-05/0.262, allocations: 16.48 kB / 461.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007494/0.2627, allocations: 315.9 kB / 462 MB, free: 8.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.825e-06/0.2627, allocations: 0 / 462 MB, free: 8.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005148/0.2679, allocations: 1.849 MB / 463.8 MB, free: 6.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002718/0.2682, allocations: 479.2 kB / 464.3 MB, free: 6.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.2695, allocations: 0.9673 MB / 465.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.2696, allocations: 45.69 kB / 465.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/0.2702, allocations: 0.6673 MB / 466 MB, free: 4.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.2704, allocations: 246 kB / 466.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.2707, allocations: 198.8 kB / 466.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2709, allocations: 345.9 kB / 466.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.2715, allocations: 297.9 kB / 467 MB, free: 3.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.2727, allocations: 1.169 MB / 468.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.2743, allocations: 0.945 MB / 469.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.2743, allocations: 4 kB / 469.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002302/0.2766, allocations: 1.181 MB / 470.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.218e-05/0.2766, allocations: 67.34 kB / 470.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.2767, allocations: 16.06 kB / 470.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.2773, allocations: 167.8 kB / 470.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.278, allocations: 203.7 kB / 470.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/0.2827, allocations: 3.611 MB / 474.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/0.2836, allocations: 63.91 kB / 474.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.2837, allocations: 52.16 kB / 474.5 MB, free: 11.04 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.0004936/0.2842, allocations: 297.5 kB / 474.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.2844, allocations: 111.3 kB / 474.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.286, allocations: 0.689 MB / 475.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.286, allocations: 8 kB / 475.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.286, allocations: 0 / 475.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/0.2876, allocations: 0.9511 MB / 476.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.2904, allocations: 1.511 MB / 478.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.2904, allocations: 8.062 kB / 478.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.291, allocations: 112.1 kB / 478.2 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.2914, allocations: 125.6 kB / 478.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.2915, allocations: 20 kB / 478.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.2952, allocations: 3.303 MB / 481.6 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2952, allocations: 4.219 kB / 481.6 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.2972, allocations: 1.037 MB / 482.7 MB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.2976, allocations: 159.4 kB / 482.8 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.2977, allocations: 23.92 kB / 482.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/0.2983, allocations: 43.91 kB / 482.9 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.2985, allocations: 60.33 kB / 482.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.2985, allocations: 24 kB / 483 MB, free: 2.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009202/0.2994, allocations: 0.6267 MB / 483.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2994, allocations: 0 / 483.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3005, allocations: 308 kB / 483.9 MB, free: 1.188 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.0002307/0.3007, allocations: 139.1 kB / 484 MB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.3029, allocations: 1.131 MB / 485.2 MB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3029, allocations: 4.125 kB / 485.2 MB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009999/0.3039, allocations: 0.5349 MB / 485.7 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.3052, allocations: 290.8 kB / 486 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.3089, allocations: 2.243 MB / 488.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.3094, allocations: 0.4891 MB / 488.7 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004627/0.3099, allocations: 132.6 kB / 488.8 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.3101, allocations: 67.44 kB / 488.9 MB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3101, allocations: 0 / 488.9 MB, free: 11.98 MB / 398.1 MB Notification: Performance of Templates: time 0.03339/0.3435, allocations: 19.24 MB / 0.4962 GB, free: 9.113 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 -s gbode -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: 8.444252791989129]