Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 181.1 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 2.089/2.089, allocations: 205.4 MB / 223.1 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.001039/0.001039, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003344, allocations: 4 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4061, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/0.6185, allocations: 97.1 MB / 472.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004024/0.6189, allocations: 83.95 kB / 473 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07923/0.6982, allocations: 26.26 MB / 499.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6982, allocations: 4 kB / 499.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.519e-05/0.6983, allocations: 23.94 kB / 499.3 MB, free: 5.012 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002392/0.7007, allocations: 1.234 MB / 0.4888 GB, free: 3.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.7008, allocations: 8.031 kB / 0.4888 GB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005969/0.7014, allocations: 174.4 kB / 0.489 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.7029, allocations: 0.7691 MB / 0.4897 GB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.919e-05/0.703, allocations: 77.95 kB / 0.4898 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.7031, allocations: 96 kB / 0.4899 GB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.7048, allocations: 0.9114 MB / 0.4908 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.7049, allocations: 7.906 kB / 0.4908 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.705, allocations: 43.94 kB / 0.4908 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.705, allocations: 24 kB / 0.4908 GB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.7063, allocations: 0.6325 MB / 0.4915 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2931/0.9994, allocations: 3.942 MB / 0.4953 GB, free: 95.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/1, allocations: 358.8 kB / 0.4956 GB, free: 95.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/1, allocations: 3.688 kB / 0.4957 GB, free: 95.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1, allocations: 41.62 kB / 0.4957 GB, free: 95.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.878e-06/1, allocations: 0 / 0.4957 GB, free: 95.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002611/1.003, allocations: 1.228 MB / 0.4969 GB, free: 95.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/1.003, allocations: 87.8 kB / 0.497 GB, free: 94.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/1.004, allocations: 0.6931 MB / 0.4977 GB, free: 94.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/1.004, allocations: 34.05 kB / 0.4977 GB, free: 94.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/1.004, allocations: 0.559 MB / 0.4982 GB, free: 94.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/1.005, allocations: 139.9 kB / 0.4984 GB, free: 94.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/1.005, allocations: 14.75 kB / 0.4984 GB, free: 94.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/1.005, allocations: 333.6 kB / 0.4987 GB, free: 94.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/1.005, allocations: 155.9 kB / 0.4988 GB, free: 94.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/1.006, allocations: 467.8 kB / 0.4993 GB, free: 93.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/1.006, allocations: 232.4 kB / 0.4995 GB, free: 93.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.006, allocations: 3.812 kB / 0.4995 GB, free: 93.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001222/1.007, allocations: 0.6943 MB / 0.5002 GB, free: 93.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/1.008, allocations: 14.78 kB / 0.5002 GB, free: 93.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.008, allocations: 11.16 kB / 0.5002 GB, free: 93.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/1.008, allocations: 31.61 kB / 0.5002 GB, free: 93.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/1.008, allocations: 166 kB / 0.5004 GB, free: 93.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008754/1.009, allocations: 1.297 MB / 0.5017 GB, free: 92.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/1.01, allocations: 44.19 kB / 0.5017 GB, free: 92.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/1.01, allocations: 31.5 kB / 0.5017 GB, free: 92.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (85): * 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: 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.0004403/1.01, allocations: 258.2 kB / 0.502 GB, free: 92.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.01, allocations: 86.66 kB / 0.5021 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007756/1.011, allocations: 400.7 kB / 0.5025 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.011, allocations: 3.719 kB / 0.5025 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/1.011, allocations: 1.125 kB / 0.5025 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.011, allocations: 3.75 kB / 0.5025 GB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/1.013, allocations: 1.263 MB / 0.5037 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.013, allocations: 2.125 kB / 0.5037 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/1.014, allocations: 80.11 kB / 0.5038 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.335e-05/1.014, allocations: 28.45 kB / 0.5038 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.014, allocations: 7.906 kB / 0.5038 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006762/1.014, allocations: 1.279 MB / 0.5051 GB, free: 90.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.014, allocations: 3.594 kB / 0.5051 GB, free: 90.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/1.015, allocations: 0.7424 MB / 0.5058 GB, free: 90.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/1.016, allocations: 190.1 kB / 0.506 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/1.016, allocations: 18.05 kB / 0.506 GB, free: 90.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/1.016, allocations: 23.86 kB / 0.506 GB, free: 90.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/1.016, allocations: 31.05 kB / 0.506 GB, free: 90.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/1.016, allocations: 16.22 kB / 0.5061 GB, free: 90.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007308/1.017, allocations: 0.5266 MB / 0.5066 GB, free: 90 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.017, allocations: 0 / 0.5066 GB, free: 90 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009281/1.018, allocations: 228.5 kB / 0.5068 GB, free: 90 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * 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 (35): * Single equations (assignments): 34 * 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.0004574/1.018, allocations: 290.9 kB / 0.5071 GB, free: 89.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009356/1.019, allocations: 0.5254 MB / 0.5076 GB, free: 89.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.019, allocations: 3.938 kB / 0.5076 GB, free: 89.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/1.02, allocations: 273 kB / 0.5078 GB, free: 89.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009252/1.021, allocations: 198.8 kB / 0.508 GB, free: 89.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/1.024, allocations: 2.091 MB / 0.5101 GB, free: 88.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/1.024, allocations: 1.016 MB / 0.5111 GB, free: 87.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004036/1.024, allocations: 101.4 kB / 0.5112 GB, free: 87.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/1.024, allocations: 53.62 kB / 0.5112 GB, free: 87.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.031e-06/1.024, allocations: 0 / 0.5112 GB, free: 87.67 MB / 378.7 MB Notification: Performance of Templates: time 0.02018/1.045, allocations: 10.79 MB / 0.5218 GB, free: 86.86 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches