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.002/0.002, allocations: 107.6 kB / 21.18 MB, free: 452 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.002719/0.002719, allocations: 215 kB / 24.47 MB, free: 3.777 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.497/1.497, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001997/0.001997, allocations: 54.58 kB / 347.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3239, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01004/0.334, allocations: 8.389 MB / 405.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.3409, allocations: 2.929 MB / 408.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.343, allocations: 30.53 kB / 408.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.3453, allocations: 0.5641 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.348, allocations: 0.584 MB / 409.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009839/0.3489, allocations: 321.8 kB / 409.7 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002476/0.3514, allocations: 1.765 MB / 411.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009084/0.3523, allocations: 425.6 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.3539, allocations: 0.6942 MB / 412.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.355, allocations: 0.6398 MB / 413.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.3553, allocations: 158.2 kB / 413.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.3559, allocations: 193.7 kB / 413.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.3563, allocations: 331.7 kB / 413.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.3573, allocations: 0.6639 MB / 414.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00342/0.3608, allocations: 2.017 MB / 416.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.3608, allocations: 0.8438 kB / 416.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3608, allocations: 0 / 416.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.479e-05/0.3608, allocations: 0 / 416.5 MB, free: 12.69 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.004645/0.3655, allocations: 1.763 MB / 418.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.641e-05/0.3655, allocations: 17.67 kB / 418.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.3667, allocations: 202.3 kB / 418.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.3686, allocations: 0.7726 MB / 419.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.3689, allocations: 160.6 kB / 419.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.3691, allocations: 119.3 kB / 419.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.3717, allocations: 1.565 MB / 421.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.3718, allocations: 14.39 kB / 421.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3719, allocations: 42.94 kB / 421.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.3719, allocations: 30.23 kB / 421.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.3737, allocations: 0.7496 MB / 422 MB, free: 8.777 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.006743/0.3804, allocations: 3.197 MB / 425.2 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.3821, allocations: 0.552 MB / 425.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005169/0.3826, allocations: 234.7 kB / 425.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.3827, allocations: 8.5 kB / 426 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006748/0.3834, allocations: 324.2 kB / 426.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 3.767e-06/0.3834, allocations: 4 kB / 426.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.006894/0.3903, allocations: 1.857 MB / 428.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003513/0.3906, allocations: 483.3 kB / 428.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.3921, allocations: 0.9634 MB / 429.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/0.3922, allocations: 37.7 kB / 429.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006616/0.3929, allocations: 0.6674 MB / 430.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.3931, allocations: 249.9 kB / 430.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.3934, allocations: 194.9 kB / 430.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3936, allocations: 341.9 kB / 431 MB, free: 288 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/0.3942, allocations: 306 kB / 431.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.3954, allocations: 1.169 MB / 432.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.3969, allocations: 0.9412 MB / 433.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.3969, allocations: 4 kB / 433.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002299/0.3992, allocations: 1.188 MB / 434.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.3993, allocations: 63.41 kB / 434.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.3993, allocations: 12 kB / 434.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.4, allocations: 177.8 kB / 434.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.4007, allocations: 199.7 kB / 435.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.4053, allocations: 3.601 MB / 438.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4065, allocations: 71.91 kB / 438.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.4066, allocations: 44 kB / 438.8 MB, free: 7.75 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.0006051/0.4072, allocations: 297.5 kB / 439.1 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.4074, allocations: 115.3 kB / 439.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.409, allocations: 0.6852 MB / 439.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.409, allocations: 4 kB / 439.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.409, allocations: 4 kB / 439.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001527/0.4105, allocations: 0.9589 MB / 440.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.4136, allocations: 1.511 MB / 442.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.4136, allocations: 3.984 kB / 442.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.4141, allocations: 103.9 kB / 442.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/0.4146, allocations: 137.8 kB / 442.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.4146, allocations: 15.94 kB / 442.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/0.4186, allocations: 3.296 MB / 445.9 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4186, allocations: 4.031 kB / 445.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.4207, allocations: 1.041 MB / 447 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006102/0.4213, allocations: 171.1 kB / 447.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.4215, allocations: 20 kB / 447.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.4221, allocations: 39.91 kB / 447.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.4223, allocations: 60.33 kB / 447.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.4223, allocations: 16 kB / 447.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.4234, allocations: 0.6384 MB / 447.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4234, allocations: 0 / 447.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001441/0.4249, allocations: 308 kB / 448.2 MB, free: 13.88 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.0003318/0.4252, allocations: 123.2 kB / 448.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.4278, allocations: 1.125 MB / 449.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4278, allocations: 0 / 449.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.4289, allocations: 0.5408 MB / 450 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.4303, allocations: 284.3 kB / 450.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.4346, allocations: 2.247 MB / 452.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.4352, allocations: 0.4969 MB / 453 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005766/0.4357, allocations: 124.7 kB / 453.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.4359, allocations: 75.42 kB / 453.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of SimCode: time 1.482e-06/0.4359, allocations: 3.938 kB / 453.2 MB, free: 8.684 MB / 366.1 MB Notification: Performance of Templates: time 0.03744/0.4734, allocations: 18.9 MB / 472.1 MB, free: 5.73 MB / 382.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/jenkins/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/jenkins/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 8.57527744024992]