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.002119/0.002119, allocations: 110.4 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.002472/0.002472, allocations: 183.1 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.652/1.652, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001511/0.001511, allocations: 47.94 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1376, allocations: 46.62 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.2619/0.3996, allocations: 9.536 MB / 384.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006672/0.4064, allocations: 3.127 MB / 387.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.4087, allocations: 26.56 kB / 387.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.411, allocations: 0.5823 MB / 388.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.4137, allocations: 0.5563 MB / 389 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.4148, allocations: 316.5 kB / 389.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003328/0.4182, allocations: 1.763 MB / 391.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.4195, allocations: 0.6363 MB / 391.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.4213, allocations: 0.6678 MB / 392.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.4229, allocations: 0.7473 MB / 393.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.4232, allocations: 158.1 kB / 393.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007547/0.424, allocations: 201.4 kB / 393.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.4243, allocations: 331.2 kB / 393.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008573/0.4252, allocations: 0.8074 MB / 394.6 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.4283, allocations: 1.99 MB / 396.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.4284, allocations: 0 / 396.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4284, allocations: 0 / 396.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.703e-05/0.4284, allocations: 1.125 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.004017/0.4324, allocations: 1.833 MB / 398.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4325, allocations: 17.97 kB / 398.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.4333, allocations: 210.3 kB / 398.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.4354, allocations: 0.8393 MB / 399.5 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.4356, allocations: 111.8 kB / 399.6 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.4358, allocations: 115.9 kB / 399.7 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.4385, allocations: 1.147 MB / 400.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.4386, allocations: 6.906 kB / 400.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.4387, allocations: 47.5 kB / 400.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.4387, allocations: 24.81 kB / 400.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.4406, allocations: 0.7563 MB / 401.7 MB, free: 15.18 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.007515/0.4481, allocations: 3.929 MB / 405.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.4499, allocations: 0.5807 MB / 406.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.4505, allocations: 271.5 kB / 406.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-05/0.4506, allocations: 20.58 kB / 406.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007401/0.4513, allocations: 296 kB / 406.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 7.614e-06/0.4513, allocations: 0 / 406.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005861/0.4572, allocations: 2.096 MB / 408.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003325/0.4576, allocations: 480.9 kB / 409.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4595, allocations: 1.11 MB / 410.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.4596, allocations: 39.36 kB / 410.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006363/0.4602, allocations: 0.6514 MB / 411.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.4605, allocations: 243.1 kB / 411.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/0.4609, allocations: 195.3 kB / 411.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4611, allocations: 347 kB / 411.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/0.4617, allocations: 248.3 kB / 412.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.4627, allocations: 0.7168 MB / 412.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.4643, allocations: 0.9379 MB / 413.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.4644, allocations: 7.562 kB / 413.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002848/0.4672, allocations: 1.151 MB / 415 MB, free: 5.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.986e-05/0.4673, allocations: 62.78 kB / 415 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.4674, allocations: 11.41 kB / 415 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008086/0.4682, allocations: 164.5 kB / 415.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/0.469, allocations: 208.9 kB / 415.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/0.4743, allocations: 3.891 MB / 419.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4758, allocations: 67.34 kB / 419.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.4759, allocations: 45.75 kB / 419.4 MB, free: 1.66 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.0007729/0.4767, allocations: 297.2 kB / 419.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.4771, allocations: 128.3 kB / 419.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.4789, allocations: 0.7055 MB / 420.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.4789, allocations: 10.72 kB / 420.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4789, allocations: 0 / 420.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001383/0.4803, allocations: 0.9534 MB / 421.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.4836, allocations: 1.797 MB / 423.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4837, allocations: 0 / 423.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.4842, allocations: 111.8 kB / 423.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.4846, allocations: 125.8 kB / 423.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.4847, allocations: 19.92 kB / 423.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/0.4883, allocations: 3.597 MB / 427.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4883, allocations: 3.984 kB / 427.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.4906, allocations: 1.059 MB / 428.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007555/0.4913, allocations: 260.2 kB / 428.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.4915, allocations: 20 kB / 428.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.4922, allocations: 31.97 kB / 428.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.4924, allocations: 64.42 kB / 428.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.4924, allocations: 16 kB / 428.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001206/0.4936, allocations: 0.7445 MB / 429.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4936, allocations: 4 kB / 429.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001351/0.495, allocations: 311.9 kB / 429.6 MB, free: 7.312 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.0002767/0.4953, allocations: 131.1 kB / 429.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002252/0.4975, allocations: 1.096 MB / 430.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.4976, allocations: 4 kB / 430.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009794/0.4986, allocations: 0.5518 MB / 431.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.5002, allocations: 333.5 kB / 431.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.5044, allocations: 2.263 MB / 434 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.5052, allocations: 1.086 MB / 435.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007007/0.5059, allocations: 149.8 kB / 435.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.5061, allocations: 75.44 kB / 435.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5061, allocations: 0 / 435.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Templates: time 0.03929/0.5454, allocations: 18.18 MB / 453.5 MB, free: 15.25 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