Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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 3.2.3+maint.om/package.mo): time 0.003284/0.003284, allocations: 175.1 kB / 8.149 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.001244/0.001243, allocations: 88.91 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.788e-06/9.839e-06, allocations: 0 / 314.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2365, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.3849, allocations: 96.29 MB / 458.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.3852, allocations: 76.45 kB / 458.2 MB, free: 5.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1096/0.4949, allocations: 25.79 MB / 484 MB, free: 11.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.221e-05/0.495, allocations: 31.92 kB / 484 MB, free: 11.77 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.002887/0.4979, allocations: 1.118 MB / 485.1 MB, free: 10.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.498, allocations: 8.031 kB / 485.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.499, allocations: 174.4 kB / 485.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.5015, allocations: 0.7691 MB / 486.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.5015, allocations: 32 kB / 486.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.5017, allocations: 67.91 kB / 486.2 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001864/0.5036, allocations: 0.5117 MB / 486.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.5058, allocations: 0.7363 MB / 487.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/0.5058, allocations: 0 / 487.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.506, allocations: 7.906 kB / 487.4 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/0.506, allocations: 28 kB / 487.5 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008356/0.5144, allocations: 3.761 MB / 491.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.5148, allocations: 138.3 kB / 491.4 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.5152, allocations: 129.4 kB / 491.5 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.5153, allocations: 288 / 491.5 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.5154, allocations: 34.84 kB / 491.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.5154, allocations: 0 / 491.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002393/0.5178, allocations: 0.889 MB / 492.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.5179, allocations: 88.98 kB / 492.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.5192, allocations: 0.5702 MB / 493.1 MB, free: 2.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.5192, allocations: 25.7 kB / 493.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.5196, allocations: 0.4959 MB / 493.6 MB, free: 1.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5197, allocations: 130.1 kB / 493.7 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.5198, allocations: 0 / 493.7 MB, free: 1.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.52, allocations: 338.8 kB / 494.1 MB, free: 1.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.5204, allocations: 113.6 kB / 494.2 MB, free: 1.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.521, allocations: 412.3 kB / 494.6 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.5215, allocations: 190 kB / 494.8 MB, free: 436 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5215, allocations: 4 kB / 494.8 MB, free: 432 kB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001434/0.523, allocations: 0.51 MB / 495.3 MB, free: 15.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.523, allocations: 11.98 kB / 495.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.523, allocations: 8 kB / 495.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.5232, allocations: 40.83 kB / 495.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.5243, allocations: 163.7 kB / 495.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.5257, allocations: 1.224 MB / 496.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/0.5262, allocations: 32.05 kB / 496.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/0.5263, allocations: 32 kB / 496.8 MB, free: 14.28 MB / 394.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 0.000183/0.5265, allocations: 53.39 kB / 496.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.5268, allocations: 79.05 kB / 496.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.5278, allocations: 305.4 kB / 497.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.5278, allocations: 8 kB / 497.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5278, allocations: 0 / 497.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5278, allocations: 0 / 497.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.5304, allocations: 1.064 MB / 498.3 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.5305, allocations: 4 kB / 498.3 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.5312, allocations: 75.89 kB / 498.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.5313, allocations: 25.08 kB / 498.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.5314, allocations: 4 kB / 498.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.5326, allocations: 1.232 MB / 499.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5327, allocations: 0 / 499.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001322/0.534, allocations: 0.6388 MB / 0.4885 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.5344, allocations: 176.1 kB / 0.4887 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.5346, allocations: 4 kB / 0.4887 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.5353, allocations: 27.97 kB / 0.4887 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.5354, allocations: 27.88 kB / 0.4887 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.5355, allocations: 12 kB / 0.4888 GB, free: 10.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0009285/0.5364, allocations: 427.2 kB / 0.4892 GB, free: 9.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001063/0.5375, allocations: 183.9 kB / 0.4893 GB, free: 9.66 MB / 394.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.0005434/0.538, allocations: 260.2 kB / 0.4896 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.5392, allocations: 443.7 kB / 0.49 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5392, allocations: 0 / 0.49 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.5397, allocations: 233.9 kB / 0.4902 GB, free: 8.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.5412, allocations: 162.2 kB / 0.4904 GB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.545, allocations: 1.263 MB / 0.4916 GB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.5462, allocations: 1.081 MB / 0.4927 GB, free: 6.129 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5462, allocations: 0 / 0.4927 GB, free: 6.129 MB / 394.7 MB Notification: Performance of Templates: time 0.1574/0.7036, allocations: 15.38 MB / 0.5077 GB, free: 147.6 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches