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.001267/0.001267, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001468/0.001468, allocations: 207 kB / 24.48 MB, free: 3.695 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001568/0.001568, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2284, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01081/0.2392, allocations: 8.457 MB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005394/0.2446, allocations: 2.947 MB / 443.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008222/0.2455, allocations: 31.88 kB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.2469, allocations: 0.5628 MB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.2482, allocations: 0.5854 MB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.2488, allocations: 327.4 kB / 445.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.2508, allocations: 1.759 MB / 447 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007121/0.2515, allocations: 449.4 kB / 447.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009044/0.2524, allocations: 0.7044 MB / 448.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000955/0.2534, allocations: 0.739 MB / 448.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.2536, allocations: 160 kB / 449 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.2539, allocations: 196 kB / 449.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.2542, allocations: 338.8 kB / 449.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007251/0.2549, allocations: 0.665 MB / 450.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.2571, allocations: 2 MB / 452.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2571, allocations: 0 / 452.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2571, allocations: 0 / 452.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.2571, allocations: 3.938 kB / 452.2 MB, free: 2.73 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.003272/0.2604, allocations: 1.767 MB / 454 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2604, allocations: 19.97 kB / 454 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006035/0.261, allocations: 199.9 kB / 454.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.2625, allocations: 0.7719 MB / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.2626, allocations: 163.8 kB / 455.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.2628, allocations: 116.1 kB / 455.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.265, allocations: 1.569 MB / 456.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.2651, allocations: 3.984 kB / 456.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.2652, allocations: 48 kB / 456.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.2652, allocations: 24 kB / 456.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.2668, allocations: 0.7574 MB / 457.7 MB, free: 13 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.005662/0.2725, allocations: 3.205 MB / 460.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.2741, allocations: 0.5346 MB / 461.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.2746, allocations: 246.7 kB / 461.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.2746, allocations: 8.5 kB / 461.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/0.2753, allocations: 324.4 kB / 462 MB, free: 8.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.835e-06/0.2753, allocations: 0 / 462 MB, free: 8.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004744/0.28, allocations: 1.849 MB / 463.8 MB, free: 6.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002644/0.2803, allocations: 479.3 kB / 464.3 MB, free: 6.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.2816, allocations: 0.9634 MB / 465.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.2817, allocations: 45.7 kB / 465.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005866/0.2823, allocations: 0.6712 MB / 466 MB, free: 4.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.2825, allocations: 242 kB / 466.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.2828, allocations: 198.8 kB / 466.4 MB, free: 3.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.283, allocations: 345.9 kB / 466.7 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.2836, allocations: 297.9 kB / 467 MB, free: 3.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.2848, allocations: 1.169 MB / 468.2 MB, free: 1.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.2862, allocations: 0.9412 MB / 469.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.2862, allocations: 4 kB / 469.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002225/0.2884, allocations: 1.185 MB / 470.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.2885, allocations: 69.59 kB / 470.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.2885, allocations: 12 kB / 470.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.2891, allocations: 176 kB / 470.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.2899, allocations: 199.7 kB / 470.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.2944, allocations: 3.602 MB / 474.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/0.2954, allocations: 72.14 kB / 474.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.2955, allocations: 51.98 kB / 474.5 MB, free: 11.05 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.0005214/0.296, allocations: 301.5 kB / 474.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.2962, allocations: 115.2 kB / 474.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.2978, allocations: 0.689 MB / 475.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.2978, allocations: 12.03 kB / 475.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2978, allocations: 0 / 475.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001542/0.2993, allocations: 0.9589 MB / 476.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3022, allocations: 1.503 MB / 478.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3022, allocations: 0 / 478.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.3027, allocations: 112.1 kB / 478.2 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.3032, allocations: 125.6 kB / 478.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.3033, allocations: 12 kB / 478.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.307, allocations: 3.311 MB / 481.6 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.307, allocations: 0 / 481.6 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.309, allocations: 1.029 MB / 482.7 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.3094, allocations: 167.2 kB / 482.8 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.3096, allocations: 24.08 kB / 482.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.3102, allocations: 55.83 kB / 482.9 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.3104, allocations: 52.41 kB / 482.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.3104, allocations: 23.98 kB / 483 MB, free: 2.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009486/0.3114, allocations: 0.6306 MB / 483.6 MB, free: 1.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3114, allocations: 0 / 483.6 MB, free: 1.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001102/0.3125, allocations: 304 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.0002574/0.3127, allocations: 143 kB / 484 MB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.3149, 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.907e-06/0.3149, allocations: 0 / 485.2 MB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3159, allocations: 0.531 MB / 485.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.3173, allocations: 292.2 kB / 486 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.3212, allocations: 2.285 MB / 488.3 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.3218, allocations: 0.4891 MB / 488.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.322, allocations: 71.44 kB / 488.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.322, allocations: 3.938 kB / 488.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of Templates: time 0.03373/0.3557, allocations: 26.02 MB / 0.5028 GB, free: 2.121 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: 12.515768459998071]