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_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001174/0.001173, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.295e-05, allocations: 11.97 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 47.57 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5328, allocations: 93.76 MB / 462.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5332, allocations: 86.14 kB / 462.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1078/0.641, allocations: 23.94 MB / 486.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6411, allocations: 0 / 486.9 MB, free: 9.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.717e-05/0.6412, allocations: 20 kB / 486.9 MB, free: 9.227 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003091/0.6443, allocations: 1.014 MB / 487.9 MB, free: 8.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.6444, allocations: 8.031 kB / 487.9 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.6455, allocations: 154.6 kB / 488.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.6478, allocations: 0.6717 MB / 488.7 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/0.648, allocations: 66 kB / 488.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.6482, allocations: 80 kB / 488.9 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.6503, allocations: 0.7795 MB / 489.7 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.6504, allocations: 3.906 kB / 489.7 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.6505, allocations: 36 kB / 489.7 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.6505, allocations: 23.98 kB / 489.7 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.6521, allocations: 0.492 MB / 490.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007869/0.66, allocations: 3.655 MB / 493.9 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.6608, allocations: 223.4 kB / 494.1 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.6611, allocations: 102.2 kB / 494.2 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.6612, allocations: 4 kB / 494.2 MB, free: 1.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.6612, allocations: 34.56 kB / 494.2 MB, free: 1.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.226e-06/0.6613, allocations: 0 / 494.2 MB, free: 1.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002787/0.6641, allocations: 0.8469 MB / 495.1 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.6642, allocations: 85.11 kB / 495.2 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.6658, allocations: 0.6723 MB / 495.8 MB, free: 15.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.464e-05/0.6659, allocations: 33.7 kB / 495.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.6664, allocations: 0.5164 MB / 496.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.6665, allocations: 110.5 kB / 496.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.6666, allocations: 8 kB / 496.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6668, allocations: 338.8 kB / 496.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.6671, allocations: 105.6 kB / 496.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.6677, allocations: 407.3 kB / 497.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.6683, allocations: 180.5 kB / 497.5 MB, free: 13.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.6683, allocations: 4 kB / 497.5 MB, free: 13.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001448/0.6698, allocations: 0.5452 MB / 498.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.6698, allocations: 8 kB / 498.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.6699, allocations: 12.06 kB / 498.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.6701, allocations: 32.86 kB / 498.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/0.6711, allocations: 147.7 kB / 498.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.6725, allocations: 1.284 MB / 499.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.6735, allocations: 51.73 kB / 499.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/0.6736, allocations: 32.09 kB / 499.6 MB, free: 11.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.6738, allocations: 153.5 kB / 499.8 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.674, allocations: 75.06 kB / 499.8 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009237/0.6749, allocations: 302.8 kB / 0.4884 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.675, allocations: 4 kB / 0.4884 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.675, allocations: 0 / 0.4884 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.675, allocations: 0 / 0.4884 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.6775, allocations: 1.074 MB / 0.4895 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.6776, allocations: 8.031 kB / 0.4895 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.6781, allocations: 63.86 kB / 0.4895 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.6783, allocations: 24.84 kB / 0.4896 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.6784, allocations: 8 kB / 0.4896 GB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.6796, allocations: 1.276 MB / 0.4908 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.6796, allocations: 4.031 kB / 0.4908 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.6809, allocations: 0.623 MB / 0.4914 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/0.6815, allocations: 180.2 kB / 0.4916 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.6817, allocations: 8 kB / 0.4916 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.6824, allocations: 27.98 kB / 0.4916 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.6826, allocations: 31.86 kB / 0.4917 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.6826, allocations: 8 kB / 0.4917 GB, free: 7.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.6839, allocations: 0.5187 MB / 0.4922 GB, free: 7.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.233e-06/0.6839, allocations: 0 / 0.4922 GB, free: 7.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001322/0.6853, allocations: 207.9 kB / 0.4924 GB, free: 6.801 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000704/0.686, allocations: 322.5 kB / 0.4927 GB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.6873, allocations: 432.3 kB / 0.4931 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.6873, allocations: 320 / 0.4931 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.6878, allocations: 230.4 kB / 0.4933 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.6897, allocations: 207.6 kB / 0.4935 GB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.6929, allocations: 1.115 MB / 0.4946 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/0.6937, allocations: 0.9687 MB / 0.4955 GB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.6939, allocations: 59.42 kB / 0.4956 GB, free: 3.387 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.694, allocations: 0 / 0.4956 GB, free: 3.387 MB / 378.7 MB Notification: Performance of Templates: time 0.03347/0.7274, allocations: 14.86 MB / 0.5101 GB, free: 4.508 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_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_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches