Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 108.9 kB / 17.06 MB, free: 5.969 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.001341/0.001341, allocations: 200 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 51.91 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 49.44 MB / 400.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01056/0.2911, allocations: 9.588 MB / 409.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.2963, allocations: 3.103 MB / 413 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008662/0.2972, allocations: 35.88 kB / 413 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.2987, allocations: 0.5938 MB / 413.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.3001, allocations: 0.5464 MB / 414.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.3007, allocations: 319.5 kB / 414.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.3027, allocations: 1.762 MB / 416.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008326/0.3035, allocations: 0.6375 MB / 416.8 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008395/0.3043, allocations: 0.6693 MB / 417.5 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000925/0.3053, allocations: 0.7429 MB / 418.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.3055, allocations: 160 kB / 418.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.3059, allocations: 199.9 kB / 418.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.3062, allocations: 330.8 kB / 418.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000758/0.307, allocations: 0.8087 MB / 419.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.3092, allocations: 1.984 MB / 421.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3092, allocations: 8 kB / 421.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3092, allocations: 0 / 421.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.3093, allocations: 0 / 421.7 MB, free: 3.227 MB / 334.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.003099/0.3124, allocations: 1.83 MB / 423.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3124, allocations: 12.03 kB / 423.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.3126, allocations: 164.9 kB / 423.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00056/0.3132, allocations: 203.9 kB / 423.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.3145, allocations: 0.8414 MB / 424.8 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3147, allocations: 108.5 kB / 424.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.3148, allocations: 115.9 kB / 425 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.3167, allocations: 1.142 MB / 426.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.3168, allocations: 15.88 kB / 426.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.394e-05/0.3169, allocations: 48 kB / 426.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.3169, allocations: 24 kB / 426.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.3185, allocations: 0.7613 MB / 427 MB, free: 13.74 MB / 350.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.005967/0.3245, allocations: 3.939 MB / 430.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.326, allocations: 0.5772 MB / 431.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.3266, allocations: 271.6 kB / 431.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.3266, allocations: 4.562 kB / 431.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006541/0.3273, allocations: 299.5 kB / 432.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.865e-06/0.3273, allocations: 4 kB / 432.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004753/0.332, allocations: 2.095 MB / 434.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002705/0.3323, allocations: 479.2 kB / 434.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.3338, allocations: 1.105 MB / 435.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.3339, allocations: 41.7 kB / 435.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.3344, allocations: 0.6599 MB / 436.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.3346, allocations: 242 kB / 436.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.3349, allocations: 194.8 kB / 436.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3351, allocations: 345.9 kB / 437.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.3357, allocations: 246.5 kB / 437.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009572/0.3366, allocations: 0.7169 MB / 438.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3382, allocations: 0.9375 MB / 439.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.3382, allocations: 4 kB / 439.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002345/0.3405, allocations: 1.146 MB / 440.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/0.3406, allocations: 67.39 kB / 440.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3406, allocations: 12 kB / 440.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.3413, allocations: 173.6 kB / 440.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.342, allocations: 203.7 kB / 440.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.3467, allocations: 3.892 MB / 444.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.3477, allocations: 64.05 kB / 444.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.3477, allocations: 51.81 kB / 444.7 MB, free: 10.87 MB / 366.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.0005154/0.3483, allocations: 294.8 kB / 445 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.3484, allocations: 131.2 kB / 445.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.35, allocations: 0.7115 MB / 445.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3501, allocations: 4 kB / 445.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3501, allocations: 0 / 445.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/0.3515, allocations: 0.9568 MB / 446.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/0.3547, allocations: 1.79 MB / 448.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3548, allocations: 3.938 kB / 448.6 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.3553, allocations: 107.9 kB / 448.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.3557, allocations: 131.7 kB / 448.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.3558, allocations: 16 kB / 448.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.3596, allocations: 3.594 MB / 452.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3596, allocations: 0 / 452.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.3617, allocations: 1.059 MB / 453.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.3622, allocations: 260.2 kB / 453.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.3623, allocations: 23.94 kB / 453.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.3629, allocations: 31.97 kB / 453.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.3631, allocations: 60.42 kB / 453.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.3632, allocations: 16 kB / 453.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.3643, allocations: 0.7523 MB / 454.6 MB, free: 392 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3643, allocations: 0 / 454.6 MB, free: 392 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001169/0.3655, allocations: 304 kB / 454.9 MB, free: 88 kB / 366.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.002523/0.368, allocations: 1.64 MB / 456.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.3702, allocations: 1.099 MB / 457.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3703, allocations: 4 kB / 457.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3713, allocations: 0.5564 MB / 458.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.3728, allocations: 332.4 kB / 458.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.3881, allocations: 9.766 MB / 468.3 MB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008359/0.389, allocations: 1.089 MB / 469.4 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000651/0.3897, allocations: 141.8 kB / 469.5 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/0.3903, allocations: 467.3 kB / 470 MB, free: 304 kB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3903, allocations: 0 / 470 MB, free: 304 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3249/0.7152, allocations: 29.1 MB / 499.1 MB, free: 3.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16, allocations: 9.109 kB / 499.1 MB, free: 3.613 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches