Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001339/0.001339, allocations: 182.6 kB / 18.04 MB, free: 3.789 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.284/1.284, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007214/0.0007214, allocations: 86.42 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002992, allocations: 8 kB / 329.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1953, allocations: 47.58 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.2956, allocations: 98.46 MB / 475.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.2959, allocations: 87.95 kB / 475.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0753/0.3712, allocations: 28.53 MB / 0.4923 GB, free: 1.266 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3713, allocations: 0 / 0.4923 GB, free: 1.266 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.407e-05/0.3714, allocations: 24 kB / 0.4923 GB, free: 1.242 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.153/0.5244, allocations: 1.28 MB / 0.4936 GB, free: 96.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5244, allocations: 9.312 kB / 0.4936 GB, free: 96.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009507/0.5254, allocations: 189.6 kB / 0.4938 GB, free: 96.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.5272, allocations: 0.8396 MB / 0.4946 GB, free: 96.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/0.5273, allocations: 71.34 kB / 0.4946 GB, free: 96.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.5275, allocations: 104.5 kB / 0.4947 GB, free: 96.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.5292, allocations: 0.9508 MB / 0.4957 GB, free: 96.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.5292, allocations: 2.062 kB / 0.4957 GB, free: 96.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/0.5293, allocations: 44.44 kB / 0.4957 GB, free: 96.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.5293, allocations: 24.03 kB / 0.4957 GB, free: 96.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.5307, allocations: 0.6643 MB / 0.4964 GB, free: 96.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004682/0.5354, allocations: 3.941 MB / 0.5002 GB, free: 94.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/0.5361, allocations: 462.6 kB / 0.5007 GB, free: 94.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.5367, allocations: 276.7 kB / 0.5009 GB, free: 94.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.5367, allocations: 11.94 kB / 0.501 GB, free: 94.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.5367, allocations: 38.78 kB / 0.501 GB, free: 94.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.5367, allocations: 0 / 0.501 GB, free: 94.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002822/0.5396, allocations: 1.547 MB / 0.5025 GB, free: 94.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.5396, allocations: 86.27 kB / 0.5026 GB, free: 94.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009635/0.5406, allocations: 0.7954 MB / 0.5034 GB, free: 93.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5406, allocations: 37.67 kB / 0.5034 GB, free: 93.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.5409, allocations: 0.5629 MB / 0.5039 GB, free: 93.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.461e-05/0.541, allocations: 179.8 kB / 0.5041 GB, free: 93.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.541, allocations: 14.06 kB / 0.5041 GB, free: 93.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.5411, allocations: 336.3 kB / 0.5045 GB, free: 93.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.5415, allocations: 190.9 kB / 0.5046 GB, free: 93.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.5419, allocations: 489.4 kB / 0.5051 GB, free: 92.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.5427, allocations: 0.6968 MB / 0.5058 GB, free: 92.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5427, allocations: 2.25 kB / 0.5058 GB, free: 92.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001184/0.5439, allocations: 0.8307 MB / 0.5066 GB, free: 92.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5439, allocations: 7.875 kB / 0.5066 GB, free: 92.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5439, allocations: 10.88 kB / 0.5066 GB, free: 92.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.5442, allocations: 96.89 kB / 0.5067 GB, free: 92.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.5447, allocations: 167.9 kB / 0.5069 GB, free: 92.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.5464, allocations: 3 MB / 0.5098 GB, free: 89.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.547, allocations: 42.83 kB / 0.5098 GB, free: 89.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.5471, allocations: 34.88 kB / 0.5099 GB, free: 89.52 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.0004112/0.5475, allocations: 261.2 kB / 0.5101 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5476, allocations: 93.09 kB / 0.5102 GB, free: 89.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009406/0.5486, allocations: 0.5442 MB / 0.5107 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5486, allocations: 8.719 kB / 0.5107 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5486, allocations: 6.938 kB / 0.5108 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.5486, allocations: 2.672 kB / 0.5108 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.5507, allocations: 1.505 MB / 0.5122 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5507, allocations: 0 / 0.5122 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.551, allocations: 89.83 kB / 0.5123 GB, free: 88.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002795/0.5513, allocations: 85.41 kB / 0.5124 GB, free: 88.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.5513, allocations: 10.83 kB / 0.5124 GB, free: 88.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.553, allocations: 2.986 MB / 0.5153 GB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.553, allocations: 3.625 kB / 0.5153 GB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.5541, allocations: 0.8635 MB / 0.5162 GB, free: 84.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.5544, allocations: 208.4 kB / 0.5164 GB, free: 84.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.5545, allocations: 11.94 kB / 0.5164 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.5549, allocations: 34.53 kB / 0.5164 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.555, allocations: 40.89 kB / 0.5164 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.555, allocations: 19.08 kB / 0.5165 GB, free: 84.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005693/0.5556, allocations: 0.5411 MB / 0.517 GB, free: 84.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5556, allocations: 0 / 0.517 GB, free: 84.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008876/0.5565, allocations: 246.1 kB / 0.5172 GB, free: 84.3 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.0003424/0.5568, allocations: 294.3 kB / 0.5175 GB, free: 84.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.5578, allocations: 0.7393 MB / 0.5182 GB, free: 83.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.5578, allocations: 2 kB / 0.5182 GB, free: 83.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.5584, allocations: 487.5 kB / 0.5187 GB, free: 83.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.5596, allocations: 210.1 kB / 0.5189 GB, free: 83.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.5621, allocations: 2.163 MB / 0.521 GB, free: 82.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.5625, allocations: 1.011 MB / 0.522 GB, free: 81.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.5629, allocations: 112.4 kB / 0.5221 GB, free: 81.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.5631, allocations: 57.03 kB / 0.5222 GB, free: 81.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5631, allocations: 0 / 0.5222 GB, free: 81.28 MB / 378.7 MB Notification: Performance of Templates: time 0.01899/0.5821, allocations: 12.25 MB / 0.5341 GB, free: 78.93 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches