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.001152/0.001152, allocations: 107.5 kB / 18.4 MB, free: 4.699 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.001128/0.001128, allocations: 187.1 kB / 19.33 MB, free: 3.781 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.411/1.411, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00118/0.00118, allocations: 52.3 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/0.09163, allocations: 46.62 MB / 375.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2025/0.2942, allocations: 9.531 MB / 385.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.2994, allocations: 3.131 MB / 388.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008751/0.3004, allocations: 27.03 kB / 388.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.3019, allocations: 0.6067 MB / 389.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.3032, allocations: 0.5852 MB / 389.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.304, allocations: 317.7 kB / 390 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.3058, allocations: 1.768 MB / 391.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009873/0.3068, allocations: 0.6397 MB / 392.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009937/0.3078, allocations: 0.6673 MB / 393.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009442/0.3088, allocations: 0.7482 MB / 393.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.309, allocations: 159 kB / 394 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.3094, allocations: 200.9 kB / 394.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.3097, allocations: 330.9 kB / 394.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.3104, allocations: 0.8088 MB / 395.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.3125, allocations: 1.981 MB / 397.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3126, allocations: 1.125 kB / 397.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3126, allocations: 0 / 397.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.3126, allocations: 2.109 kB / 397.3 MB, free: 2.047 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.003013/0.3156, allocations: 1.792 MB / 399.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3157, allocations: 9.875 kB / 399.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005641/0.3162, allocations: 197.4 kB / 399.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.3176, allocations: 0.8381 MB / 400.2 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.3177, allocations: 115.5 kB / 400.3 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.3179, allocations: 109.3 kB / 400.4 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.3199, allocations: 1.149 MB / 401.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.3199, allocations: 6.375 kB / 401.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.32, allocations: 46.91 kB / 401.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.3201, allocations: 26.31 kB / 401.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.3217, allocations: 0.7617 MB / 402.4 MB, free: 15.17 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.005807/0.3275, allocations: 3.915 MB / 406.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.3291, allocations: 0.5843 MB / 406.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/0.3297, allocations: 269.2 kB / 407.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/0.3297, allocations: 19.89 kB / 407.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006337/0.3304, allocations: 294.6 kB / 407.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.625e-06/0.3304, allocations: 1.156 kB / 407.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004753/0.3352, allocations: 2.071 MB / 409.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.3354, allocations: 483.9 kB / 410 MB, free: 9.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.3369, allocations: 1.107 MB / 411.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.3369, allocations: 38.98 kB / 411.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.3375, allocations: 0.6453 MB / 411.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.3377, allocations: 236 kB / 412 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.338, allocations: 191.6 kB / 412.2 MB, free: 8.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3381, allocations: 350 kB / 412.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.3387, allocations: 239.9 kB / 412.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/0.3395, allocations: 0.7168 MB / 413.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.3409, allocations: 0.9384 MB / 414.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.3409, allocations: 7.344 kB / 414.4 MB, free: 6.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002025/0.3429, allocations: 1.145 MB / 415.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.343, allocations: 62.47 kB / 415.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.343, allocations: 12.09 kB / 415.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.3436, allocations: 168.5 kB / 415.8 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.3443, allocations: 209 kB / 416 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.3488, allocations: 3.887 MB / 419.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.3499, allocations: 67.34 kB / 420 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.3499, allocations: 45.75 kB / 420 MB, free: 1.707 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.0005513/0.3505, allocations: 292.5 kB / 420.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.3507, allocations: 128.5 kB / 420.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.3522, allocations: 0.7085 MB / 421.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3522, allocations: 6.75 kB / 421.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3522, allocations: 0 / 421.1 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/0.3536, allocations: 0.9575 MB / 422.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.3565, allocations: 1.789 MB / 423.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3565, allocations: 0 / 423.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.357, allocations: 112 kB / 424 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.3574, allocations: 129.6 kB / 424.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.3574, allocations: 12 kB / 424.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003455/0.3609, allocations: 3.592 MB / 427.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3609, allocations: 0 / 427.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.3628, allocations: 1.054 MB / 428.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/0.3632, allocations: 251.6 kB / 429 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.3634, allocations: 20 kB / 429 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.364, allocations: 31.97 kB / 429.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3641, allocations: 64.36 kB / 429.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.3642, allocations: 19.98 kB / 429.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.3652, allocations: 0.7484 MB / 429.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3652, allocations: 0 / 429.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00131/0.3665, allocations: 312.1 kB / 430.2 MB, free: 7.387 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.0002929/0.3668, allocations: 136.5 kB / 430.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.3688, allocations: 1.1 MB / 431.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3689, allocations: 4 kB / 431.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009182/0.3698, allocations: 0.5364 MB / 432 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.3712, allocations: 329.1 kB / 432.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.3749, allocations: 2.255 MB / 434.6 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.3756, allocations: 1.089 MB / 435.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.3758, allocations: 83.44 kB / 435.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3758, allocations: 3.938 kB / 435.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Templates: time 0.03054/0.4063, allocations: 26.31 MB / 462 MB, free: 7.328 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/jenkins1/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/jenkins1/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