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.001831/0.001831, allocations: 108.3 kB / 21.93 MB, free: 5.219 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.002242/0.002242, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.532/1.532, allocations: 207.7 MB / 236.1 MB, free: 9.812 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.001916/0.001916, allocations: 67.8 kB / 348.5 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2897, allocations: 49.14 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01005/0.2997, allocations: 8.401 MB / 406 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006278/0.306, allocations: 2.921 MB / 408.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.3079, allocations: 35.19 kB / 409 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.3097, allocations: 0.5561 MB / 409.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.3117, allocations: 0.5835 MB / 410.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.3126, allocations: 325.9 kB / 410.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.3152, allocations: 1.759 MB / 412.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008567/0.316, allocations: 422.9 kB / 412.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.3176, allocations: 0.6912 MB / 413.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3186, allocations: 0.644 MB / 413.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.3188, allocations: 157.4 kB / 414.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.3193, allocations: 193.3 kB / 414.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.3196, allocations: 332.5 kB / 414.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007626/0.3203, allocations: 0.6651 MB / 415.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.3226, allocations: 2.009 MB / 417.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3226, allocations: 0 / 417.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3227, allocations: 0 / 417.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.3227, allocations: 1.5 kB / 417.3 MB, free: 12.71 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.003718/0.3264, allocations: 1.757 MB / 419 MB, free: 11.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3265, allocations: 13.64 kB / 419.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.3272, allocations: 210.8 kB / 419.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.3288, allocations: 0.7682 MB / 420 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.329, allocations: 169.2 kB / 420.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.3292, allocations: 115.4 kB / 420.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.3315, allocations: 1.572 MB / 421.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.3316, allocations: 5.516 kB / 421.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.875e-05/0.3317, allocations: 48.28 kB / 421.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.3317, allocations: 25.97 kB / 422 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.3333, allocations: 0.7494 MB / 422.7 MB, free: 8.801 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.006286/0.3396, allocations: 3.204 MB / 425.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.3412, allocations: 0.5524 MB / 426.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.3417, allocations: 247.6 kB / 426.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.836e-05/0.3417, allocations: 8.5 kB / 426.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/0.3424, allocations: 323.9 kB / 427 MB, free: 5.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 3.216e-06/0.3424, allocations: 0 / 427 MB, free: 5.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005031/0.3474, allocations: 1.845 MB / 428.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002735/0.3477, allocations: 483.3 kB / 429.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.3491, allocations: 0.9634 MB / 430.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.3492, allocations: 45.64 kB / 430.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/0.3498, allocations: 0.6635 MB / 431 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.35, allocations: 249.9 kB / 431.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.3503, allocations: 198.9 kB / 431.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3505, allocations: 349.9 kB / 431.8 MB, free: 296 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.3511, allocations: 298 kB / 432.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.3523, allocations: 1.174 MB / 433.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.3537, allocations: 0.9373 MB / 434.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.3537, allocations: 4 kB / 434.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00226/0.356, allocations: 1.192 MB / 435.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/0.356, allocations: 63.41 kB / 435.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.356, allocations: 12 kB / 435.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.3566, allocations: 173.7 kB / 435.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.3573, allocations: 203.7 kB / 435.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/0.3617, allocations: 3.601 MB / 439.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.3628, allocations: 59.92 kB / 439.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.3629, allocations: 47.98 kB / 439.5 MB, free: 7.77 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.0005385/0.3634, allocations: 297.5 kB / 439.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.3636, allocations: 115.4 kB / 439.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.3651, allocations: 0.6929 MB / 440.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3651, allocations: 12.03 kB / 440.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3651, allocations: 0 / 440.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/0.3666, allocations: 0.9512 MB / 441.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.3696, allocations: 1.515 MB / 443.1 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3696, allocations: 0 / 443.1 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.3702, allocations: 107.8 kB / 443.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/0.3706, allocations: 129.9 kB / 443.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.3706, allocations: 19.98 kB / 443.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/0.3743, allocations: 3.288 MB / 446.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.3743, allocations: 8.031 kB / 446.7 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.3763, allocations: 1.041 MB / 447.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/0.3769, allocations: 179.1 kB / 447.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.377, allocations: 16 kB / 447.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.3776, allocations: 43.89 kB / 447.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.3777, allocations: 56.39 kB / 448 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.3778, allocations: 23.94 kB / 448 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009589/0.3787, allocations: 0.6345 MB / 448.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3787, allocations: 4 kB / 448.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001132/0.3799, allocations: 308 kB / 449 MB, free: 13.89 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.0002227/0.3801, allocations: 119.1 kB / 449.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3821, allocations: 1.121 MB / 450.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3821, allocations: 0 / 450.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009224/0.3831, allocations: 0.5294 MB / 450.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.3844, allocations: 288.5 kB / 451 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.3882, allocations: 2.295 MB / 453.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.3887, allocations: 0.4891 MB / 453.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.389, allocations: 79.42 kB / 453.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.389, allocations: 0 / 453.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of Templates: time 0.03538/0.4243, allocations: 26 MB / 479.9 MB, free: 14.73 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.462470004800707]