Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001525, allocations: 177.3 kB / 17.41 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.086/3.086, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.001642/0.001642, allocations: 95.84 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005839/0.0005842, allocations: 12 kB / 328.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5574/0.558, allocations: 47.58 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.7797, allocations: 98.47 MB / 474.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004782/0.7803, allocations: 83.95 kB / 474.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1227/0.903, allocations: 28.52 MB / 0.491 GB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.9031, allocations: 0 / 0.491 GB, free: 1.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001839/0.9033, allocations: 28 kB / 0.491 GB, free: 1.336 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00562/0.9089, allocations: 1.282 MB / 0.4923 GB, free: 0 / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.4382/1.347, allocations: 8.953 kB / 0.4923 GB, free: 97.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/1.35, allocations: 186.9 kB / 0.4925 GB, free: 97.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/1.354, allocations: 0.8357 MB / 0.4933 GB, free: 96.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/1.354, allocations: 74.28 kB / 0.4934 GB, free: 96.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004311/1.355, allocations: 103.3 kB / 0.4935 GB, free: 96.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/1.359, allocations: 0.9451 MB / 0.4944 GB, free: 96.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.985e-05/1.359, allocations: 6.062 kB / 0.4944 GB, free: 96.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/1.359, allocations: 45.28 kB / 0.4944 GB, free: 96.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/1.359, allocations: 27.83 kB / 0.4945 GB, free: 96.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/1.362, allocations: 0.6636 MB / 0.4951 GB, free: 96.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/1.373, allocations: 3.94 MB / 0.499 GB, free: 95.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/1.374, allocations: 469.5 kB / 0.4994 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/1.375, allocations: 282 kB / 0.4997 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/1.375, allocations: 6.25 kB / 0.4997 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/1.375, allocations: 40.72 kB / 0.4997 GB, free: 94.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.204e-05/1.375, allocations: 2.25 kB / 0.4997 GB, free: 94.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.005844/1.381, allocations: 1.542 MB / 0.5012 GB, free: 94.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.381, allocations: 81.8 kB / 0.5013 GB, free: 94.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/1.384, allocations: 0.8048 MB / 0.5021 GB, free: 94.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/1.384, allocations: 41.73 kB / 0.5021 GB, free: 94.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006291/1.385, allocations: 0.5667 MB / 0.5027 GB, free: 93.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/1.385, allocations: 167.6 kB / 0.5028 GB, free: 93.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/1.385, allocations: 16.41 kB / 0.5029 GB, free: 93.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/1.385, allocations: 343.9 kB / 0.5032 GB, free: 93.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007363/1.386, allocations: 185.5 kB / 0.5034 GB, free: 93.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.387, allocations: 480.7 kB / 0.5038 GB, free: 93.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/1.389, allocations: 0.703 MB / 0.5045 GB, free: 92.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/1.389, allocations: 5.719 kB / 0.5045 GB, free: 92.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003363/1.392, allocations: 0.8255 MB / 0.5053 GB, free: 92.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/1.392, allocations: 10.19 kB / 0.5053 GB, free: 92.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/1.392, allocations: 11.44 kB / 0.5053 GB, free: 92.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/1.393, allocations: 101.4 kB / 0.5054 GB, free: 92.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/1.394, allocations: 154.4 kB / 0.5056 GB, free: 92.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/1.398, allocations: 3.012 MB / 0.5085 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.399, allocations: 35.09 kB / 0.5086 GB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/1.399, allocations: 35.47 kB / 0.5086 GB, free: 89.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001026/1.401, allocations: 266 kB / 0.5088 GB, free: 89.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/1.401, allocations: 92.03 kB / 0.5089 GB, free: 89.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/1.403, allocations: 0.5416 MB / 0.5095 GB, free: 89.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.403, allocations: 11.81 kB / 0.5095 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.403, allocations: 3.969 kB / 0.5095 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.403, allocations: 0 / 0.5095 GB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/1.408, allocations: 1.513 MB / 0.511 GB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.408, allocations: 3.906 kB / 0.511 GB, free: 88.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/1.409, allocations: 81.89 kB / 0.511 GB, free: 88.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/1.409, allocations: 78.83 kB / 0.5111 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/1.409, allocations: 21.55 kB / 0.5111 GB, free: 88.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/1.413, allocations: 2.97 MB / 0.514 GB, free: 85.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/1.413, allocations: 7.625 kB / 0.514 GB, free: 85.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/1.415, allocations: 0.8722 MB / 0.5149 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008573/1.416, allocations: 192.7 kB / 0.5151 GB, free: 84.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004244/1.417, allocations: 25.61 kB / 0.5151 GB, free: 84.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.418, allocations: 29.27 kB / 0.5151 GB, free: 84.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/1.418, allocations: 47.19 kB / 0.5152 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/1.418, allocations: 14.47 kB / 0.5152 GB, free: 84.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001588/1.42, allocations: 0.5402 MB / 0.5157 GB, free: 84.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.42, allocations: 0 / 0.5157 GB, free: 84.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002376/1.422, allocations: 245 kB / 0.516 GB, free: 84.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008578/1.423, allocations: 296.5 kB / 0.5162 GB, free: 84.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002511/1.426, allocations: 0.7388 MB / 0.517 GB, free: 84.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/1.426, allocations: 7.812 kB / 0.517 GB, free: 84.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.427, allocations: 484.7 kB / 0.5174 GB, free: 83.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.43, allocations: 210.4 kB / 0.5176 GB, free: 83.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/1.438, allocations: 2.189 MB / 0.5198 GB, free: 82.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.44, allocations: 1.013 MB / 0.5208 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/1.44, allocations: 62.97 kB / 0.5208 GB, free: 81.53 MB / 378.7 MB Notification: Performance of SimCode: time 3.125e-06/1.44, allocations: 0 / 0.5208 GB, free: 81.53 MB / 378.7 MB Notification: Performance of Templates: time 0.04594/1.486, allocations: 22.14 MB / 0.5424 GB, free: 69.64 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches