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_Start.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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00228/0.00228, allocations: 181.7 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.299/2.299, allocations: 205.2 MB / 219.4 MB, free: 14.18 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.00159/0.00159, allocations: 90.62 kB / 267.5 MB, free: 14.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.731e-05/8.799e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1781, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6739, allocations: 93.18 MB / 462.3 MB, free: 228 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.6743, allocations: 77.39 kB / 462.4 MB, free: 188 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1277/0.8021, allocations: 23.07 MB / 485.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.8022, allocations: 4 kB / 485.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.638e-05/0.8022, allocations: 20 kB / 485.4 MB, free: 10.69 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002366/0.8046, allocations: 0.9628 MB / 486.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.8047, allocations: 12.03 kB / 486.4 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008372/0.8055, allocations: 146.7 kB / 486.6 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.8075, allocations: 0.6874 MB / 487.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.8077, allocations: 58 kB / 487.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.8079, allocations: 80 kB / 487.4 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.8099, allocations: 0.7365 MB / 488.1 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.8099, allocations: 8.562 kB / 488.1 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.8101, allocations: 32 kB / 488.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.8101, allocations: 20 kB / 488.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.8115, allocations: 479.9 kB / 488.6 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007192/0.8188, allocations: 3.461 MB / 492.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006591/0.8195, allocations: 211.9 kB / 492.3 MB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.8198, allocations: 108.7 kB / 492.4 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.8198, allocations: 4 kB / 492.4 MB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.8199, allocations: 30.56 kB / 492.5 MB, free: 3.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.696e-06/0.8199, allocations: 4 kB / 492.5 MB, free: 3.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.002202/0.8221, allocations: 0.8034 MB / 493.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.8222, allocations: 85.34 kB / 493.3 MB, free: 2.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.8236, allocations: 0.6131 MB / 494 MB, free: 1.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.8236, allocations: 33.64 kB / 494 MB, free: 1.699 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.8241, allocations: 0.5201 MB / 494.5 MB, free: 1.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.8243, allocations: 102.6 kB / 494.6 MB, free: 1.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.8243, allocations: 12 kB / 494.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.8245, allocations: 338.8 kB / 495 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.8249, allocations: 109.6 kB / 495.1 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.8255, allocations: 395.3 kB / 495.4 MB, free: 88 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.826, allocations: 176.3 kB / 495.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.826, allocations: 4 kB / 495.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001366/0.8274, allocations: 0.5298 MB / 496.2 MB, free: 15.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.8274, allocations: 12 kB / 496.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.8274, allocations: 8 kB / 496.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.8277, allocations: 36.84 kB / 496.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/0.8286, allocations: 147.8 kB / 496.4 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.8299, allocations: 1.288 MB / 497.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/0.8309, allocations: 40.05 kB / 497.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.831, allocations: 39.95 kB / 497.7 MB, free: 13.67 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 (74): * Single equations (assignments): 73 * 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.0001885/0.8312, allocations: 141.5 kB / 497.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.8313, allocations: 71.16 kB / 497.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008439/0.8322, allocations: 281.5 kB / 498.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.8322, allocations: 4 kB / 498.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8322, allocations: 3.938 kB / 498.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.8323, allocations: 7.953 kB / 498.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.8347, allocations: 1.055 MB / 499.3 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.8347, allocations: 4 kB / 499.3 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.8353, allocations: 67.89 kB / 499.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.8354, allocations: 16.86 kB / 499.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.8355, allocations: 8 kB / 499.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.8367, allocations: 1.276 MB / 0.4889 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8368, allocations: 4 kB / 0.4889 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.838, allocations: 0.5874 MB / 0.4895 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.8384, allocations: 172.2 kB / 0.4897 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.8385, allocations: 8 kB / 0.4897 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/0.8391, allocations: 31.97 kB / 0.4897 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.8392, allocations: 27.86 kB / 0.4897 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.8393, allocations: 8 kB / 0.4897 GB, free: 9.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001005/0.8403, allocations: 479.2 kB / 0.4902 GB, free: 9.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.8403, allocations: 0 / 0.4902 GB, free: 9.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001144/0.8414, allocations: 192 kB / 0.4904 GB, free: 8.918 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 (27): * Single equations (assignments): 26 * 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.0006095/0.8421, allocations: 288.7 kB / 0.4906 GB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.8432, allocations: 424.2 kB / 0.491 GB, free: 8.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8432, allocations: 0 / 0.491 GB, free: 8.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004469/0.8437, allocations: 218.5 kB / 0.4913 GB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.8452, allocations: 184.7 kB / 0.4914 GB, free: 7.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.8482, allocations: 1.06 MB / 0.4925 GB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/0.849, allocations: 0.957 MB / 0.4934 GB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.8492, allocations: 51.44 kB / 0.4934 GB, free: 5.637 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8492, allocations: 0 / 0.4934 GB, free: 5.637 MB / 378.7 MB Notification: Performance of Templates: time 0.0308/0.8801, allocations: 13.77 MB / 0.5069 GB, free: 7.848 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_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_Start/DCPM_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches