Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009725/0.0009726, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007581/0.0007581, allocations: 89.97 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.245, allocations: 47.58 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.00816/0.2532, allocations: 8.442 MB / 383.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006129/0.2594, allocations: 2.874 MB / 386.4 MB, free: 36.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.2611, allocations: 29.66 kB / 386.4 MB, free: 36.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.2629, allocations: 485.4 kB / 386.9 MB, free: 36.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.265, allocations: 486.3 kB / 387.4 MB, free: 35.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007784/0.2658, allocations: 221.9 kB / 387.6 MB, free: 35.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.2679, allocations: 1.629 MB / 389.2 MB, free: 34.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.2687, allocations: 0.5413 MB / 389.8 MB, free: 33.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008811/0.2696, allocations: 0.5602 MB / 390.3 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.2702, allocations: 0.6261 MB / 391 MB, free: 32.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2703, allocations: 84 kB / 391.1 MB, free: 32.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.2707, allocations: 128 kB / 391.2 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2708, allocations: 246.9 kB / 391.4 MB, free: 32.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005237/0.2714, allocations: 0.7093 MB / 392.1 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009628/0.2723, allocations: 1.511 MB / 393.6 MB, free: 30.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2723, allocations: 0 / 393.6 MB, free: 30.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2724, allocations: 0 / 393.6 MB, free: 30.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.2724, allocations: 0 / 393.6 MB, free: 30.09 MB / 298.7 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.002498/0.2749, allocations: 1.544 MB / 395.2 MB, free: 28.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2749, allocations: 8.031 kB / 395.2 MB, free: 28.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004865/0.2754, allocations: 207 kB / 395.4 MB, free: 28.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.2765, allocations: 0.821 MB / 396.2 MB, free: 27.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.2767, allocations: 116.4 kB / 396.3 MB, free: 27.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.2768, allocations: 116 kB / 396.4 MB, free: 27.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.2785, allocations: 1.146 MB / 397.6 MB, free: 25.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.2785, allocations: 4 kB / 397.6 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.03e-05/0.2786, allocations: 44 kB / 397.6 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.2786, allocations: 28 kB / 397.7 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.28, allocations: 0.7691 MB / 398.4 MB, free: 25.09 MB / 298.7 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.004855/0.2848, allocations: 3.965 MB / 402.4 MB, free: 20.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.2862, allocations: 0.5993 MB / 403 MB, free: 20.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.2867, allocations: 274.9 kB / 403.3 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.2867, allocations: 20.47 kB / 403.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005935/0.2873, allocations: 307.1 kB / 403.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 3.366e-06/0.2873, allocations: 0 / 403.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.004138/0.2915, allocations: 2.123 MB / 405.7 MB, free: 17.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.2916, allocations: 475.2 kB / 406.2 MB, free: 16.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.2928, allocations: 1.101 MB / 407.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.2929, allocations: 37.7 kB / 407.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.2932, allocations: 0.6389 MB / 407.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.2933, allocations: 240.7 kB / 408.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.2934, allocations: 24 kB / 408.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.2935, allocations: 341.9 kB / 408.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.2939, allocations: 250.5 kB / 408.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.2946, allocations: 0.7208 MB / 409.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.2956, allocations: 0.9492 MB / 410.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2957, allocations: 7.938 kB / 410.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001699/0.2974, allocations: 1.134 MB / 411.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.2974, allocations: 71.39 kB / 411.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.2974, allocations: 12 kB / 411.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/0.298, allocations: 165 kB / 411.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.2986, allocations: 215.6 kB / 412 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.3017, allocations: 3.55 MB / 415.6 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3027, allocations: 75.97 kB / 415.7 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/0.3028, allocations: 51.98 kB / 415.7 MB, free: 6.641 MB / 298.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004429/0.3033, allocations: 293.6 kB / 416 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3034, allocations: 122.5 kB / 416.1 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.3046, allocations: 0.7194 MB / 416.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3047, allocations: 7.984 kB / 416.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3047, allocations: 4 kB / 416.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.3058, allocations: 0.9685 MB / 417.8 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.3082, allocations: 1.81 MB / 419.6 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3082, allocations: 4 kB / 419.6 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.3087, allocations: 112.1 kB / 419.8 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.3091, allocations: 129.6 kB / 419.9 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.3091, allocations: 12 kB / 419.9 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.3119, allocations: 3.297 MB / 423.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.312, allocations: 0 / 423.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.314, allocations: 1.069 MB / 424.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.3145, allocations: 255.5 kB / 424.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.3147, allocations: 23.94 kB / 424.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/0.3154, allocations: 47.91 kB / 424.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3156, allocations: 56.42 kB / 424.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.3156, allocations: 19.98 kB / 424.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001233/0.3168, allocations: 0.7367 MB / 425.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3169, allocations: 3.938 kB / 425.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001184/0.318, allocations: 312 kB / 425.7 MB, free: 12.11 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002623/0.3183, allocations: 123.2 kB / 425.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.3205, allocations: 1.11 MB / 426.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.3205, allocations: 4 kB / 426.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.3215, allocations: 0.5528 MB / 427.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.3234, allocations: 312.6 kB / 427.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.3279, allocations: 2.746 MB / 430.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008698/0.3288, allocations: 1.085 MB / 431.6 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.3291, allocations: 79.44 kB / 431.7 MB, free: 5.938 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.3291, allocations: 4 kB / 431.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of Templates: time 0.03581/0.3649, allocations: 26 MB / 457.7 MB, free: 11.9 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches