Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001454, allocations: 179.3 kB / 8.132 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 221.4 MB / 229.9 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008927, allocations: 104.8 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.444e-06, allocations: 4 kB / 336.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1789, allocations: 50.4 MB / 386.9 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09759/0.2765, allocations: 97.39 MB / 484.3 MB, free: 5.352 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.2768, allocations: 87.94 kB / 484.4 MB, free: 5.266 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2041/0.481, allocations: 25.8 MB / 0.4982 GB, free: 94.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.757e-05/0.481, allocations: 19.75 kB / 0.4983 GB, free: 94.1 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.001343/0.4824, allocations: 1.115 MB / 0.4993 GB, free: 93.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.4824, allocations: 14.22 kB / 0.4994 GB, free: 93.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005333/0.483, allocations: 177 kB / 0.4995 GB, free: 93.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.4841, allocations: 0.779 MB / 0.5003 GB, free: 93.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.4841, allocations: 33.19 kB / 0.5003 GB, free: 93.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/0.4842, allocations: 62.88 kB / 0.5004 GB, free: 93.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008575/0.4851, allocations: 0.5171 MB / 0.5009 GB, free: 93.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.4862, allocations: 0.7389 MB / 0.5016 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.4862, allocations: 3.906 kB / 0.5016 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.4863, allocations: 3.906 kB / 0.5016 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.4863, allocations: 22.81 kB / 0.5016 GB, free: 92.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/0.49, allocations: 3.766 MB / 0.5053 GB, free: 91.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.4902, allocations: 139.3 kB / 0.5054 GB, free: 91.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.4904, allocations: 126.7 kB / 0.5056 GB, free: 91.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.4904, allocations: 5.688 kB / 0.5056 GB, free: 91.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4905, allocations: 39.78 kB / 0.5056 GB, free: 91.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.4905, allocations: 0 / 0.5056 GB, free: 91.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001154/0.4916, allocations: 0.8813 MB / 0.5065 GB, free: 90.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.4917, allocations: 80.3 kB / 0.5065 GB, free: 90.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.4923, allocations: 0.576 MB / 0.5071 GB, free: 90.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4923, allocations: 26.73 kB / 0.5071 GB, free: 90.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.4925, allocations: 484 kB / 0.5076 GB, free: 90.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.4925, allocations: 124 kB / 0.5077 GB, free: 90.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.4925, allocations: 2.594 kB / 0.5077 GB, free: 90.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.4926, allocations: 386 kB / 0.5081 GB, free: 89.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.4928, allocations: 114.3 kB / 0.5082 GB, free: 89.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.4931, allocations: 422.1 kB / 0.5086 GB, free: 89.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4934, allocations: 187.4 kB / 0.5088 GB, free: 89.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4934, allocations: 3.938 kB / 0.5088 GB, free: 89.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007389/0.4941, allocations: 0.5593 MB / 0.5093 GB, free: 89.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4942, allocations: 4.875 kB / 0.5093 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4942, allocations: 8.344 kB / 0.5093 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.4943, allocations: 34.83 kB / 0.5094 GB, free: 89.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.4948, allocations: 167.8 kB / 0.5095 GB, free: 89.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006366/0.4955, allocations: 1.244 MB / 0.5107 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.4959, allocations: 32.3 kB / 0.5108 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.496, allocations: 29.91 kB / 0.5108 GB, free: 87.87 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 () * 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 8.429e-05/0.4961, allocations: 133.8 kB / 0.5109 GB, free: 87.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.4962, allocations: 77.34 kB / 0.511 GB, free: 87.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.4966, allocations: 299.1 kB / 0.5113 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4966, allocations: 6.875 kB / 0.5113 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.4966, allocations: 0 / 0.5113 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4966, allocations: 0 / 0.5113 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.4978, allocations: 1.067 MB / 0.5123 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.4978, allocations: 0 / 0.5123 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.4982, allocations: 85.53 kB / 0.5124 GB, free: 86.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.537e-05/0.4983, allocations: 26.94 kB / 0.5124 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.4983, allocations: 3.375 kB / 0.5125 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005521/0.4988, allocations: 1.221 MB / 0.5136 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4989, allocations: 3.25 kB / 0.5136 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000564/0.4994, allocations: 0.6454 MB / 0.5143 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.4996, allocations: 176.7 kB / 0.5144 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4997, allocations: 6.875 kB / 0.5145 GB, free: 85.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.5001, allocations: 25.11 kB / 0.5145 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.5001, allocations: 25.09 kB / 0.5145 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.5002, allocations: 11.94 kB / 0.5145 GB, free: 85 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000415/0.5006, allocations: 434.2 kB / 0.5149 GB, free: 84.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006164/0.5012, allocations: 183.8 kB / 0.5151 GB, free: 84.77 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 () * 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.0002907/0.5015, allocations: 261.4 kB / 0.5153 GB, free: 84.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000543/0.5021, allocations: 436.5 kB / 0.5158 GB, free: 84.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5021, allocations: 0 / 0.5158 GB, free: 84.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.5023, allocations: 228.9 kB / 0.516 GB, free: 84.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.5031, allocations: 170.5 kB / 0.5161 GB, free: 84.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.5051, allocations: 1.22 MB / 0.5173 GB, free: 83.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.5056, allocations: 1.071 MB / 0.5184 GB, free: 82.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5056, allocations: 0 / 0.5184 GB, free: 82.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01482/0.5204, allocations: 8.071 MB / 0.5263 GB, free: 80.25 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches