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.001431/0.00143, allocations: 114.5 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.001445/0.001445, allocations: 187 kB / 18.67 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.644/1.644, 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.001706/0.001706, allocations: 51.91 kB / 328.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1197, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2815/0.4012, allocations: 9.535 MB / 384.7 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008163/0.4095, allocations: 3.125 MB / 387.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.4123, allocations: 30.19 kB / 387.9 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.4156, allocations: 0.5744 MB / 388.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.4197, allocations: 0.5603 MB / 389 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.4212, allocations: 316.7 kB / 389.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003913/0.4252, allocations: 1.769 MB / 391.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.4266, allocations: 0.6402 MB / 391.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.4285, allocations: 0.6667 MB / 392.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.4302, allocations: 0.7452 MB / 393.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.4305, allocations: 158.3 kB / 393.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008156/0.4314, allocations: 203.8 kB / 393.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.4317, allocations: 337 kB / 393.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.4329, allocations: 0.8033 MB / 394.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.4367, allocations: 1.982 MB / 396.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.4367, allocations: 0 / 396.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4367, allocations: 1.156 kB / 396.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.145e-05/0.4368, allocations: 0.7969 kB / 396.6 MB, free: 2.113 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.00453/0.4413, allocations: 1.787 MB / 398.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4414, allocations: 10.81 kB / 398.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/0.4421, allocations: 197.9 kB / 398.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.4441, allocations: 0.8423 MB / 399.4 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.4443, allocations: 119.8 kB / 399.5 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.4446, allocations: 108.6 kB / 399.6 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.4472, allocations: 1.15 MB / 400.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.4472, allocations: 10.53 kB / 400.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.4474, allocations: 44.69 kB / 400.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-05/0.4474, allocations: 25.59 kB / 400.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.4492, allocations: 0.7593 MB / 401.6 MB, free: 15.23 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.00866/0.4579, allocations: 3.909 MB / 405.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.4599, allocations: 0.585 MB / 406.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/0.4606, allocations: 270.9 kB / 406.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.6e-05/0.4607, allocations: 16.08 kB / 406.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007818/0.4615, allocations: 292 kB / 406.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 5.15e-06/0.4615, allocations: 1 kB / 406.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.006668/0.4682, allocations: 2.077 MB / 408.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003236/0.4686, allocations: 476.8 kB / 409.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.4709, allocations: 1.103 MB / 410.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.4711, allocations: 43.39 kB / 410.4 MB, free: 9.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006751/0.4717, allocations: 0.6461 MB / 411 MB, free: 8.551 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.472, allocations: 237.8 kB / 411.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.4724, allocations: 192.2 kB / 411.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4726, allocations: 346 kB / 411.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.4732, allocations: 240.2 kB / 412 MB, free: 7.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.4743, allocations: 0.7171 MB / 412.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.4759, allocations: 0.942 MB / 413.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.4759, allocations: 7.406 kB / 413.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00275/0.4786, allocations: 1.145 MB / 414.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.59e-05/0.4788, allocations: 67.48 kB / 414.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.4788, allocations: 10.91 kB / 414.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007734/0.4796, allocations: 164.9 kB / 415.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.4804, allocations: 209.3 kB / 415.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/0.4854, allocations: 3.879 MB / 419.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.487, allocations: 63.53 kB / 419.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.4871, allocations: 54.36 kB / 419.3 MB, free: 1.77 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.000813/0.4879, allocations: 292.4 kB / 419.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.4882, allocations: 124.8 kB / 419.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.4898, allocations: 0.7116 MB / 420.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4899, allocations: 6.844 kB / 420.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4899, allocations: 1.375 kB / 420.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/0.4912, allocations: 0.9574 MB / 421.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.4944, allocations: 1.785 MB / 423.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4944, allocations: 0 / 423.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.4949, allocations: 107.8 kB / 423.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.4953, allocations: 133.8 kB / 423.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.4953, allocations: 12 kB / 423.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003452/0.4988, allocations: 3.597 MB / 427 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4988, allocations: 4.031 kB / 427 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.5012, allocations: 1.054 MB / 428 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.5018, allocations: 255.6 kB / 428.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.502, allocations: 19.98 kB / 428.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.5026, allocations: 35.97 kB / 428.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.5028, allocations: 56.42 kB / 428.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.5028, allocations: 23.94 kB / 428.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.504, allocations: 0.7406 MB / 429.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.504, allocations: 4 kB / 429.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001293/0.5053, allocations: 316 kB / 429.5 MB, free: 7.438 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.0003012/0.5056, allocations: 123.1 kB / 429.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.5078, allocations: 1.097 MB / 430.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.5078, allocations: 4 kB / 430.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009767/0.5088, allocations: 0.5477 MB / 431.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.5103, allocations: 336.6 kB / 431.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.5141, allocations: 2.226 MB / 433.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.5148, allocations: 1.082 MB / 434.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005534/0.5154, allocations: 149.8 kB / 435 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.5155, allocations: 79.42 kB / 435.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of SimCode: time 1.153e-06/0.5155, allocations: 3.938 kB / 435.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of Templates: time 0.03965/0.5552, allocations: 18.19 MB / 453.3 MB, free: 15.41 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