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.001386/0.001386, allocations: 180.7 kB / 17.01 MB, free: 5.125 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.931/1.931, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.00112/0.00112, allocations: 88.22 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2895, allocations: 47.58 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4153, allocations: 98.3 MB / 474.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.4157, allocations: 83.95 kB / 474.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07498/0.4907, allocations: 28.67 MB / 0.4911 GB, free: 1.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.4907, allocations: 3.938 kB / 0.4911 GB, free: 1.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.5e-05/0.4908, allocations: 23.94 kB / 0.4911 GB, free: 1.352 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.002219/0.493, allocations: 1.281 MB / 0.4924 GB, free: 20 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.493, allocations: 8.031 kB / 0.4924 GB, free: 12 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1926/0.6857, allocations: 190.1 kB / 0.4926 GB, free: 97.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.6876, allocations: 0.8116 MB / 0.4934 GB, free: 96.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/0.6877, allocations: 71.12 kB / 0.4934 GB, free: 96.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.6879, allocations: 107.2 kB / 0.4935 GB, free: 96.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.6896, allocations: 0.9363 MB / 0.4944 GB, free: 96.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.6897, allocations: 3.094 kB / 0.4944 GB, free: 96.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.6898, allocations: 42.69 kB / 0.4945 GB, free: 96.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.6898, allocations: 26.41 kB / 0.4945 GB, free: 96.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.691, allocations: 0.6646 MB / 0.4952 GB, free: 96.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005916/0.6969, allocations: 3.942 MB / 0.499 GB, free: 95.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008539/0.6978, allocations: 463.1 kB / 0.4994 GB, free: 95.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.6979, allocations: 5.359 kB / 0.4994 GB, free: 95.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.6979, allocations: 40.28 kB / 0.4995 GB, free: 95.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.797e-06/0.698, allocations: 0 / 0.4995 GB, free: 95.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.003766/0.7017, allocations: 1.513 MB / 0.501 GB, free: 94.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.7018, allocations: 83.95 kB / 0.501 GB, free: 94.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.7029, allocations: 0.71 MB / 0.5017 GB, free: 94.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.7029, allocations: 33.48 kB / 0.5018 GB, free: 94.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.7033, allocations: 0.5664 MB / 0.5023 GB, free: 93.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.7034, allocations: 177.6 kB / 0.5025 GB, free: 93.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.7035, allocations: 18.91 kB / 0.5025 GB, free: 93.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.7035, allocations: 331.5 kB / 0.5028 GB, free: 93.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.7039, allocations: 180.8 kB / 0.503 GB, free: 93.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.7044, allocations: 475.8 kB / 0.5035 GB, free: 93.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.7049, allocations: 257 kB / 0.5037 GB, free: 93.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.7049, allocations: 7.078 kB / 0.5037 GB, free: 93.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001327/0.7063, allocations: 0.7997 MB / 0.5045 GB, free: 93.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.7063, allocations: 15.27 kB / 0.5045 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.7063, allocations: 7.781 kB / 0.5045 GB, free: 93.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.7066, allocations: 86.72 kB / 0.5046 GB, free: 93.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.7071, allocations: 166.8 kB / 0.5048 GB, free: 93.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.709, allocations: 2.933 MB / 0.5076 GB, free: 90.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.7097, allocations: 41.84 kB / 0.5077 GB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.7098, allocations: 33 kB / 0.5077 GB, free: 90.5 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 (87): * Single equations (assignments): 85 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005103/0.7103, allocations: 270.9 kB / 0.5079 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.7104, allocations: 86.16 kB / 0.508 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/0.7113, allocations: 0.5217 MB / 0.5085 GB, free: 90.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7114, allocations: 7.031 kB / 0.5085 GB, free: 90.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7114, allocations: 5.062 kB / 0.5085 GB, free: 90.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.7114, allocations: 0 / 0.5085 GB, free: 90.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.7133, allocations: 1.479 MB / 0.51 GB, free: 89.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7133, allocations: 0 / 0.51 GB, free: 89.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.7136, allocations: 80.98 kB / 0.5101 GB, free: 89.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.7138, allocations: 70.95 kB / 0.5101 GB, free: 89.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.7139, allocations: 15.81 kB / 0.5102 GB, free: 89.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.7155, allocations: 2.919 MB / 0.513 GB, free: 86.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7155, allocations: 7.625 kB / 0.513 GB, free: 86.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.7166, allocations: 0.916 MB / 0.5139 GB, free: 85.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/0.7169, allocations: 201 kB / 0.5141 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.895e-05/0.717, allocations: 15.89 kB / 0.5141 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.7174, allocations: 40.19 kB / 0.5141 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/0.7175, allocations: 41.81 kB / 0.5142 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.7176, allocations: 19.45 kB / 0.5142 GB, free: 85.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006364/0.7182, allocations: 0.5361 MB / 0.5147 GB, free: 85.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7182, allocations: 0 / 0.5147 GB, free: 85.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001088/0.7193, allocations: 246.9 kB / 0.515 GB, free: 85.29 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 (41): * Single equations (assignments): 39 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004308/0.7198, allocations: 305.2 kB / 0.5153 GB, free: 85.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.721, allocations: 0.7266 MB / 0.516 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.721, allocations: 0.625 kB / 0.516 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.7216, allocations: 476.2 kB / 0.5164 GB, free: 84.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.7226, allocations: 212.4 kB / 0.5166 GB, free: 84.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.7255, allocations: 2.136 MB / 0.5187 GB, free: 83.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.726, allocations: 1.039 MB / 0.5197 GB, free: 82.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000516/0.7265, allocations: 109 kB / 0.5198 GB, free: 82.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.7267, allocations: 60.62 kB / 0.5199 GB, free: 82.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.825e-06/0.7267, allocations: 0 / 0.5199 GB, free: 82.28 MB / 378.7 MB Notification: Performance of Templates: time 0.02125/0.7479, allocations: 11.99 MB / 0.5316 GB, free: 80.77 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/jenkins/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