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.00198/0.00198, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.002653/0.002653, allocations: 170.8 kB / 25.03 MB, free: 8.43 MB / 18.57 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.358/1.358, allocations: 158.6 MB / 186.8 MB, free: 2.855 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.482e-05, allocations: 2.312 kB / 250.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.0127/0.01273, allocations: 8.414 MB / 258.8 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006063/0.01879, allocations: 2.925 MB / 261.7 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000867/0.01966, allocations: 31.88 kB / 261.8 MB, free: 8.484 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.02124, allocations: 0.5625 MB / 262.3 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.02267, allocations: 0.6162 MB / 262.9 MB, free: 7.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.02338, allocations: 323.4 kB / 263.2 MB, free: 6.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.02607, allocations: 1.839 MB / 265.1 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.02687, allocations: 425.3 kB / 265.5 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.02849, allocations: 1.033 MB / 266.5 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008858/0.02937, allocations: 0.5336 MB / 267.1 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.02961, allocations: 156 kB / 267.2 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.03002, allocations: 199.9 kB / 267.4 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003372/0.03036, allocations: 346.6 kB / 267.8 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007068/0.03107, allocations: 0.5573 MB / 268.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.03366, allocations: 2.005 MB / 270.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.03366, allocations: 0 / 270.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03366, allocations: 4 kB / 270.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.0337, allocations: 0 / 270.3 MB, free: 15.86 MB / 266.7 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.003743/0.03744, allocations: 1.743 MB / 272.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.03748, allocations: 11.98 kB / 272.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000796/0.03828, allocations: 295.9 kB / 272.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.03988, allocations: 0.7867 MB / 273.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.04011, allocations: 167.8 kB / 273.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.0403, allocations: 120.3 kB / 273.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.04282, allocations: 1.572 MB / 275 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.04287, allocations: 11.92 kB / 275 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.04298, allocations: 44 kB / 275.1 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.04301, allocations: 35.94 kB / 275.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.04477, allocations: 0.7496 MB / 275.8 MB, free: 10.04 MB / 266.7 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.00628/0.05105, allocations: 3.247 MB / 279.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.05273, allocations: 0.5394 MB / 279.6 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/0.05331, allocations: 246.7 kB / 279.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.05336, allocations: 8.5 kB / 279.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007126/0.05407, allocations: 331.8 kB / 280.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.424e-06/0.05407, allocations: 0 / 280.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.005094/0.05917, allocations: 1.872 MB / 282.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003303/0.0595, allocations: 475.3 kB / 282.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.06097, allocations: 0.9673 MB / 283.5 MB, free: 2.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.06103, allocations: 37.7 kB / 283.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/0.06178, allocations: 0.6752 MB / 284.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.06208, allocations: 234 kB / 284.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004739/0.06256, allocations: 198.8 kB / 284.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/0.06285, allocations: 341.9 kB / 285 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009942/0.06384, allocations: 297.9 kB / 285.3 MB, free: 240 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.06605, allocations: 1.177 MB / 286.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.0685, allocations: 0.9489 MB / 287.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.06851, allocations: 4 kB / 287.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003988/0.0725, allocations: 1.231 MB / 288.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.0726, allocations: 63.41 kB / 288.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/0.07265, allocations: 12 kB / 288.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009139/0.07356, allocations: 171.8 kB / 288.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.07471, allocations: 203.7 kB / 289.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007682/0.08239, allocations: 3.627 MB / 292.7 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.08416, allocations: 68.08 kB / 292.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.08429, allocations: 48 kB / 292.8 MB, free: 7.945 MB / 282.7 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.0008023/0.08509, allocations: 293.6 kB / 293.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.08544, allocations: 139.2 kB / 293.2 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.08796, allocations: 0.6851 MB / 293.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.08798, allocations: 8 kB / 293.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.08799, allocations: 0 / 293.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002564/0.09055, allocations: 0.9551 MB / 294.9 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006016/0.09657, allocations: 1.507 MB / 296.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.09658, allocations: 4.125 kB / 296.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.09771, allocations: 107.9 kB / 296.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/0.09864, allocations: 133.6 kB / 296.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/0.09871, allocations: 12 kB / 296.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007908/0.1066, allocations: 3.326 MB / 300 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1066, allocations: 0 / 300 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1239/0.2305, allocations: 1.044 MB / 301 MB, free: 57.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/0.2311, allocations: 168 kB / 301.2 MB, free: 57.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.2313, allocations: 18.33 kB / 301.2 MB, free: 57.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000712/0.2321, allocations: 35.22 kB / 301.2 MB, free: 57.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.2322, allocations: 63.5 kB / 301.3 MB, free: 57.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.2323, allocations: 18.88 kB / 301.3 MB, free: 57.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009039/0.2332, allocations: 0.6388 MB / 301.9 MB, free: 56.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2332, allocations: 0 / 301.9 MB, free: 56.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001193/0.2344, allocations: 304.8 kB / 302.2 MB, free: 56.91 MB / 282.7 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.0002236/0.2346, allocations: 133.1 kB / 302.4 MB, free: 56.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.2366, allocations: 1.126 MB / 303.5 MB, free: 56.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2366, allocations: 2.312 kB / 303.5 MB, free: 56.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008568/0.2374, allocations: 0.5346 MB / 304 MB, free: 56.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.2387, allocations: 300.7 kB / 304.3 MB, free: 55.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.2417, allocations: 2.121 MB / 306.4 MB, free: 54.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.2422, allocations: 0.4921 MB / 306.9 MB, free: 54.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000484/0.2427, allocations: 131.3 kB / 307.1 MB, free: 54.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.2429, allocations: 73.41 kB / 307.1 MB, free: 54.65 MB / 282.7 MB Notification: Performance of SimCode: time 1.133e-06/0.2429, allocations: 0 / 307.1 MB, free: 54.65 MB / 282.7 MB Notification: Performance of Templates: time 0.02276/0.2656, allocations: 17.07 MB / 324.2 MB, free: 42.46 MB / 282.7 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.266189988935366]