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.0008642/0.0008642, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009733/0.0009733, allocations: 162.8 kB / 25.45 MB, free: 8.855 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 0.79/0.79, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.764e-06/1.764e-06, allocations: 0 / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.494e-05, allocations: 2.281 kB / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.007106/0.007131, allocations: 8.402 MB / 308.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.01183, allocations: 2.918 MB / 311 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.01267, allocations: 31.88 kB / 311.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.01386, allocations: 0.5703 MB / 311.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.01492, allocations: 0.6123 MB / 312.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.01546, allocations: 327.4 kB / 312.6 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.01683, allocations: 1.848 MB / 314.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004866/0.01732, allocations: 421.3 kB / 314.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.01809, allocations: 1.033 MB / 315.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.0186, allocations: 0.5336 MB / 316.4 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.01874, allocations: 156 kB / 316.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.01899, allocations: 203.9 kB / 316.7 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.01916, allocations: 342.6 kB / 317.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.01955, allocations: 0.5573 MB / 317.6 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.02095, allocations: 2.005 MB / 319.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.02095, allocations: 0 / 319.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02096, allocations: 0 / 319.6 MB, free: 2.863 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.02097, allocations: 0 / 319.6 MB, free: 2.863 MB / 298.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.001952/0.02292, allocations: 1.747 MB / 321.4 MB, free: 1.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.02296, allocations: 11.98 kB / 321.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.0233, allocations: 207.9 kB / 321.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/0.02424, allocations: 0.7788 MB / 322.4 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.02438, allocations: 167.8 kB / 322.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.02448, allocations: 108.3 kB / 322.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.02576, allocations: 1.574 MB / 324.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.02579, allocations: 11.94 kB / 324.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.02585, allocations: 44 kB / 324.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.02586, allocations: 24 kB / 324.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009436/0.0268, allocations: 0.7534 MB / 325.1 MB, free: 13.15 MB / 314.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.003412/0.03022, allocations: 3.196 MB / 328.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009004/0.03112, allocations: 0.543 MB / 328.8 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.03142, allocations: 246.7 kB / 329 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.03146, allocations: 8.438 kB / 329 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004014/0.03186, allocations: 320 kB / 329.4 MB, free: 8.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 2.575e-06/0.03186, allocations: 4 kB / 329.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.002804/0.03466, allocations: 1.861 MB / 331.2 MB, free: 6.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.03481, allocations: 483.3 kB / 331.7 MB, free: 6.184 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009369/0.03575, allocations: 0.9595 MB / 332.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.03579, allocations: 45.7 kB / 332.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.03611, allocations: 0.6635 MB / 333.4 MB, free: 4.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.03623, allocations: 234 kB / 333.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.0364, allocations: 194.9 kB / 333.8 MB, free: 4.051 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.03649, allocations: 345.9 kB / 334.1 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.03683, allocations: 305.8 kB / 334.4 MB, free: 3.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009876/0.03782, allocations: 1.169 MB / 335.6 MB, free: 1.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.03863, allocations: 0.9411 MB / 336.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.03864, allocations: 4 kB / 336.5 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001353/0.03999, allocations: 1.189 MB / 337.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/0.04005, allocations: 63.41 kB / 337.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.04007, allocations: 15.94 kB / 337.8 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.0405, allocations: 169.7 kB / 338 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.04086, allocations: 207.7 kB / 338.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.04377, allocations: 3.594 MB / 341.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.04419, allocations: 63.92 kB / 341.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.04423, allocations: 44 kB / 341.9 MB, free: 11.2 MB / 330.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.0003235/0.04456, allocations: 293.6 kB / 342.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.04464, allocations: 115.3 kB / 342.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.04581, allocations: 0.6969 MB / 343 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.04581, allocations: 7.938 kB / 343 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.04581, allocations: 0 / 343 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007932/0.04661, allocations: 0.959 MB / 343.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.04832, allocations: 1.51 MB / 345.4 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.04833, allocations: 4 kB / 345.4 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.04859, allocations: 103.9 kB / 345.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002412/0.04883, allocations: 133.7 kB / 345.7 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.04886, allocations: 19.98 kB / 345.7 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.05103, allocations: 3.3 MB / 349 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.05104, allocations: 4.031 kB / 349 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.05252, allocations: 1.033 MB / 350 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.05274, allocations: 167.2 kB / 350.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.05281, allocations: 20 kB / 350.2 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.0531, allocations: 31.97 kB / 350.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.05321, allocations: 64.33 kB / 350.3 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.05323, allocations: 16 kB / 350.3 MB, free: 2.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005885/0.05382, allocations: 0.6384 MB / 351 MB, free: 1.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05382, allocations: 0 / 351 MB, free: 1.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007248/0.05455, allocations: 312 kB / 351.3 MB, free: 1.32 MB / 330.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.0002482/0.0548, allocations: 135 kB / 351.4 MB, free: 1.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.05606, allocations: 1.118 MB / 352.5 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.05607, allocations: 0 / 352.5 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1273/0.1833, allocations: 0.527 MB / 353 MB, free: 60.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.1852, allocations: 282.8 kB / 353.3 MB, free: 60.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.1892, allocations: 2.113 MB / 355.4 MB, free: 59.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.1897, allocations: 0.4922 MB / 355.9 MB, free: 59.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.19, allocations: 78.19 kB / 356 MB, free: 59.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.833e-06/0.19, allocations: 0 / 356 MB, free: 59.54 MB / 330.7 MB Notification: Performance of Templates: time 0.02771/0.2177, allocations: 26.01 MB / 382 MB, free: 41.4 MB / 330.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.399528350681067]