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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,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=500000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 184.2 kB / 18.66 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 47.94 kB / 328.5 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1248, allocations: 46.62 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.3009/0.4257, allocations: 9.529 MB / 384.7 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006622/0.4324, allocations: 3.13 MB / 387.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.4348, allocations: 26.47 kB / 387.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.4376, allocations: 0.582 MB / 388.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.4407, allocations: 0.5518 MB / 389 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4418, allocations: 324.2 kB / 389.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.4448, allocations: 1.764 MB / 391.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.4461, allocations: 0.6309 MB / 391.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.4475, allocations: 0.6707 MB / 392.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.4487, allocations: 0.7445 MB / 393.1 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.449, allocations: 159.7 kB / 393.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.4495, allocations: 208.3 kB / 393.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.4498, allocations: 331.8 kB / 393.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008614/0.4507, allocations: 0.8027 MB / 394.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.4538, allocations: 1.981 MB / 396.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.4538, allocations: 0 / 396.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.27e-06/0.4538, allocations: 0 / 396.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.509e-05/0.4539, allocations: 0 / 396.6 MB, free: 2.094 MB / 318.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.004503/0.4584, allocations: 1.793 MB / 398.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4585, allocations: 12.19 kB / 398.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008346/0.4593, allocations: 201.9 kB / 398.6 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.461, allocations: 0.8393 MB / 399.4 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.4612, allocations: 119.3 kB / 399.5 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.4614, allocations: 112.3 kB / 399.6 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.4638, allocations: 1.142 MB / 400.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.4639, allocations: 9.219 kB / 400.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.464, allocations: 48.88 kB / 400.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.464, allocations: 29.03 kB / 400.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.4659, allocations: 0.7588 MB / 401.6 MB, free: 15.21 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.007464/0.4734, allocations: 3.91 MB / 405.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.4752, allocations: 0.588 MB / 406.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005648/0.4757, allocations: 267.6 kB / 406.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.4758, allocations: 13.44 kB / 406.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006888/0.4765, allocations: 294.9 kB / 406.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 3.697e-06/0.4765, allocations: 0 / 406.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005698/0.4822, allocations: 2.079 MB / 408.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002912/0.4825, allocations: 476.7 kB / 409.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.4847, allocations: 1.106 MB / 410.3 MB, free: 9.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.44e-05/0.4848, allocations: 39.14 kB / 410.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/0.4854, allocations: 0.6458 MB / 411 MB, free: 8.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.4856, allocations: 234.4 kB / 411.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.486, allocations: 192.2 kB / 411.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4862, allocations: 346.2 kB / 411.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.4868, allocations: 245 kB / 412 MB, free: 7.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/0.4878, allocations: 0.7166 MB / 412.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.4893, allocations: 0.9409 MB / 413.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.4893, allocations: 8.375 kB / 413.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00222/0.4915, allocations: 1.141 MB / 414.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.4916, allocations: 63.41 kB / 414.9 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.4916, allocations: 19.02 kB / 414.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.4923, allocations: 163.8 kB / 415.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.493, allocations: 203.9 kB / 415.3 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.4975, allocations: 3.888 MB / 419.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.4988, allocations: 67.59 kB / 419.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/0.4988, allocations: 45.12 kB / 419.3 MB, free: 1.754 MB / 334.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.0005792/0.4994, allocations: 297.1 kB / 419.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.4996, allocations: 124.4 kB / 419.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.5012, allocations: 0.7087 MB / 420.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.5012, allocations: 5.969 kB / 420.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5012, allocations: 1.406 kB / 420.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00165/0.5029, allocations: 0.9524 MB / 421.3 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.5059, allocations: 1.793 MB / 423.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.506, allocations: 4.219 kB / 423.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.5065, allocations: 111.8 kB / 423.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.5069, allocations: 125.6 kB / 423.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.5069, allocations: 16 kB / 423.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.5106, allocations: 3.593 MB / 427 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5107, allocations: 3.938 kB / 427 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.5127, allocations: 1.058 MB / 428 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/0.5134, allocations: 251.6 kB / 428.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.5135, allocations: 20 kB / 428.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/0.5142, allocations: 35.95 kB / 428.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.5144, allocations: 60.44 kB / 428.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.5144, allocations: 19.98 kB / 428.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.5156, allocations: 0.7484 MB / 429.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5157, allocations: 3.938 kB / 429.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001366/0.517, allocations: 308 kB / 429.5 MB, free: 7.445 MB / 350.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.0002824/0.5173, allocations: 127.2 kB / 429.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002256/0.5196, allocations: 1.097 MB / 430.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5196, allocations: 4.25 kB / 430.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009549/0.5206, allocations: 0.5433 MB / 431.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.5223, allocations: 330.3 kB / 431.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.5263, allocations: 2.23 MB / 433.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/0.5272, allocations: 1.078 MB / 434.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006249/0.5278, allocations: 149.8 kB / 435 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.528, allocations: 75.44 kB / 435.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.866e-06/0.528, allocations: 0 / 435.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Templates: time 0.03857/0.5666, allocations: 18.2 MB / 453.3 MB, free: 15.43 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (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) 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) Reference file matches