Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00181/0.00181, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002286/0.002286, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 59.91 kB / 348.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2638, allocations: 49.15 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009307/0.2731, allocations: 9.624 MB / 407.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.2787, allocations: 3.136 MB / 410.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.2803, allocations: 31.25 kB / 410.4 MB, free: 324 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.2821, allocations: 0.618 MB / 411 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.2844, allocations: 0.5864 MB / 411.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.2854, allocations: 328.7 kB / 411.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.2882, allocations: 1.756 MB / 413.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007862/0.289, allocations: 450.4 kB / 414.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.2902, allocations: 0.6891 MB / 414.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.2913, allocations: 0.7426 MB / 415.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.2915, allocations: 157.9 kB / 415.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.292, allocations: 205.5 kB / 415.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.2923, allocations: 335.6 kB / 416.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008484/0.2932, allocations: 0.8052 MB / 417.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.2955, allocations: 1.996 MB / 419.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2955, allocations: 1.156 kB / 419.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2955, allocations: 0 / 419.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.2955, allocations: 0 / 419.1 MB, free: 10.95 MB / 334.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.003471/0.299, allocations: 1.758 MB / 420.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.299, allocations: 17.86 kB / 420.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.2997, allocations: 210.3 kB / 421 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.3012, allocations: 0.7613 MB / 421.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.3014, allocations: 168.4 kB / 422 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3015, allocations: 114.7 kB / 422.1 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.3034, allocations: 1.141 MB / 423.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.3035, allocations: 1.219 kB / 423.2 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.3036, allocations: 47.7 kB / 423.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.3036, allocations: 25.75 kB / 423.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.3051, allocations: 0.7577 MB / 424 MB, free: 7.574 MB / 334.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.006123/0.3112, allocations: 3.814 MB / 427.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.3128, allocations: 0.5562 MB / 428.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.3133, allocations: 242.6 kB / 428.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.3133, allocations: 12.5 kB / 428.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/0.3139, allocations: 302.5 kB / 429 MB, free: 3.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.645e-06/0.3139, allocations: 0 / 429 MB, free: 3.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004907/0.3188, allocations: 1.861 MB / 430.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/0.3191, allocations: 479.3 kB / 431.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.3207, allocations: 1.109 MB / 432.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.3208, allocations: 41.7 kB / 432.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.3214, allocations: 0.6637 MB / 433.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.3216, allocations: 234 kB / 433.3 MB, free: 15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.3219, allocations: 202.8 kB / 433.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3221, allocations: 345.9 kB / 433.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.3226, allocations: 242.5 kB / 434.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009343/0.3235, allocations: 0.7173 MB / 434.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.325, allocations: 0.9412 MB / 435.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.325, allocations: 7.938 kB / 435.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002343/0.3273, allocations: 1.138 MB / 436.9 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.3274, allocations: 63.41 kB / 437 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.3274, allocations: 12 kB / 437 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.328, allocations: 181.8 kB / 437.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.3287, allocations: 203.7 kB / 437.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/0.3331, allocations: 3.686 MB / 441 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.3343, allocations: 68.02 kB / 441.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.3344, allocations: 51.98 kB / 441.2 MB, free: 6.504 MB / 350.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.000527/0.335, allocations: 289.6 kB / 441.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.3352, allocations: 131.2 kB / 441.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3367, allocations: 0.7022 MB / 442.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3367, allocations: 8 kB / 442.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3367, allocations: 0 / 442.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001413/0.3381, allocations: 0.955 MB / 443.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.3414, allocations: 1.752 MB / 445 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.3414, allocations: 4.125 kB / 445 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.3419, allocations: 112.1 kB / 445.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/0.3423, allocations: 133.6 kB / 445.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.3424, allocations: 19.92 kB / 445.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003716/0.3461, allocations: 3.369 MB / 448.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3461, allocations: 0 / 448.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.3482, allocations: 1.054 MB / 449.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006236/0.3488, allocations: 191 kB / 449.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.349, allocations: 23.98 kB / 449.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/0.3496, allocations: 31.97 kB / 449.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.3498, allocations: 60.28 kB / 450 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.3498, allocations: 27.97 kB / 450 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.3509, allocations: 0.7445 MB / 450.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3509, allocations: 4 kB / 450.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001155/0.3521, allocations: 308 kB / 451.1 MB, free: 12.12 MB / 366.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.0002639/0.3523, allocations: 131 kB / 451.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.3545, allocations: 1.065 MB / 452.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3545, allocations: 0 / 452.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.3555, allocations: 0.536 MB / 452.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.357, allocations: 328.8 kB / 453.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.3611, allocations: 2.291 MB / 455.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.3619, allocations: 1.082 MB / 456.5 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.3621, allocations: 83.44 kB / 456.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of SimCode: time 1.001e-06/0.3621, allocations: 0 / 456.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of Templates: time 0.03708/0.3992, allocations: 26.44 MB / 483 MB, free: 11.95 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.000494681065902]