Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001608/0.001608, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001873/0.001873, allocations: 187.5 kB / 23.7 MB, free: 4.188 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.45/1.45, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 51.91 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2564, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.011/0.2674, allocations: 8.442 MB / 431.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005375/0.2728, allocations: 2.913 MB / 434.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.2739, allocations: 35.81 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.2756, allocations: 0.5628 MB / 435 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.2774, allocations: 0.5815 MB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.2782, allocations: 335.4 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.2806, allocations: 1.755 MB / 437.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007984/0.2814, allocations: 425.3 kB / 438.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.2824, allocations: 0.685 MB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.2836, allocations: 0.6451 MB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003274/0.2839, allocations: 156 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005614/0.2845, allocations: 204 kB / 439.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.2848, allocations: 330.8 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009566/0.2858, allocations: 0.6651 MB / 440.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.288, allocations: 2.004 MB / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.288, allocations: 0 / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.288, allocations: 0 / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-05/0.2881, allocations: 0 / 442.8 MB, free: 10.66 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.003648/0.2917, allocations: 1.751 MB / 444.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2918, allocations: 11.97 kB / 444.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.2924, allocations: 207.9 kB / 444.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.2939, allocations: 0.768 MB / 445.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.2941, allocations: 171.8 kB / 445.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.2943, allocations: 116.1 kB / 445.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.2967, allocations: 1.573 MB / 447.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.2967, allocations: 3.953 kB / 447.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.2968, allocations: 48 kB / 447.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.2969, allocations: 28 kB / 447.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.2985, allocations: 0.7495 MB / 448.2 MB, free: 4.941 MB / 350.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.005949/0.3045, allocations: 3.197 MB / 451.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.306, allocations: 0.5554 MB / 452 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.3066, allocations: 242.6 kB / 452.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.3066, allocations: 12.5 kB / 452.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006381/0.3073, allocations: 319.9 kB / 452.5 MB, free: 460 kB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.845e-06/0.3073, allocations: 0 / 452.5 MB, free: 460 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004905/0.3122, allocations: 1.845 MB / 454.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002867/0.3125, allocations: 475.3 kB / 454.8 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.314, allocations: 0.9673 MB / 455.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.3141, allocations: 37.7 kB / 455.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.3148, allocations: 0.6751 MB / 456.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.315, allocations: 246 kB / 456.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.3153, allocations: 198.8 kB / 457 MB, free: 11.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3154, allocations: 349.9 kB / 457.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.316, allocations: 301.9 kB / 457.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.3173, allocations: 1.169 MB / 458.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.3189, allocations: 0.9373 MB / 459.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.3189, allocations: 4 kB / 459.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002324/0.3212, allocations: 1.185 MB / 460.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.353e-05/0.3213, allocations: 67.39 kB / 460.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.3213, allocations: 12 kB / 461 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.3219, allocations: 173.5 kB / 461.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.3226, allocations: 207.7 kB / 461.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.3271, allocations: 3.596 MB / 464.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008545/0.328, allocations: 60.06 kB / 465 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.328, allocations: 44 kB / 465 MB, free: 2.992 MB / 366.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.0004676/0.3285, allocations: 304.4 kB / 465.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.3287, allocations: 119.3 kB / 465.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.3302, allocations: 0.6967 MB / 466.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.3302, allocations: 4 kB / 466.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3302, allocations: 0 / 466.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001465/0.3317, allocations: 0.9473 MB / 467.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.3346, allocations: 1.507 MB / 468.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3346, allocations: 4 kB / 468.6 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.335, allocations: 107.8 kB / 468.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004209/0.3355, allocations: 125.8 kB / 468.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.3355, allocations: 23.92 kB / 468.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.3391, allocations: 3.311 MB / 472.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3391, allocations: 4 kB / 472.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.341, allocations: 1.049 MB / 473.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.3414, allocations: 167.2 kB / 473.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.3415, allocations: 20 kB / 473.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.3421, allocations: 35.91 kB / 473.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.3422, allocations: 60.39 kB / 473.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.3423, allocations: 16 kB / 473.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009218/0.3432, allocations: 0.6306 MB / 474.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3432, allocations: 4 kB / 474.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001047/0.3442, allocations: 308 kB / 474.4 MB, free: 9.121 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.0002306/0.3445, allocations: 127.1 kB / 474.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.3466, allocations: 1.117 MB / 475.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.433e-06/0.3466, allocations: 6 kB / 475.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009604/0.3476, allocations: 0.5432 MB / 476.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.3488, allocations: 287.5 kB / 476.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.3528, allocations: 2.253 MB / 478.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.3534, allocations: 0.4891 MB / 479.3 MB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000496/0.3539, allocations: 132.6 kB / 479.4 MB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3541, allocations: 75.44 kB / 479.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3541, allocations: 0 / 479.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of Templates: time 0.03489/0.389, allocations: 18.9 MB / 498.4 MB, free: 1.391 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.057315250858665]