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") [: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.001247/0.001247, allocations: 180.9 kB / 8.477 MB, free: 1.766 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.105/1.105, allocations: 205.2 MB / 214.1 MB, free: 5.172 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000879/0.000879, allocations: 86.31 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.051e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06593/0.06595, allocations: 47.58 MB / 362.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.2964, allocations: 96.27 MB / 458.8 MB, free: 7.559 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.2967, allocations: 81.48 kB / 458.9 MB, free: 7.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.06434/0.361, allocations: 25.79 MB / 484.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.205e-05/0.3611, allocations: 23.94 kB / 484.7 MB, free: 7.602 MB / 330.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.001595/0.3627, allocations: 1.116 MB / 485.8 MB, free: 6.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3628, allocations: 8.031 kB / 485.8 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.3633, allocations: 178.3 kB / 486 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.3646, allocations: 0.7672 MB / 486.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.3646, allocations: 32 kB / 486.8 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.3648, allocations: 63.84 kB / 486.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008939/0.3657, allocations: 0.518 MB / 487.4 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3668, allocations: 0.7333 MB / 488.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.3669, allocations: 4.594 kB / 488.1 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.3669, allocations: 3.906 kB / 488.1 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.367, allocations: 24 kB / 488.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/0.3714, allocations: 3.767 MB / 491.9 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3717, allocations: 139.2 kB / 492.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.3719, allocations: 132 kB / 492.2 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3719, allocations: 4.281 kB / 492.2 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.372, allocations: 38.34 kB / 492.2 MB, free: 1.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.372, allocations: 0 / 492.2 MB, free: 1.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001662/0.3736, allocations: 0.8772 MB / 493.1 MB, free: 428 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3737, allocations: 81.11 kB / 493.2 MB, free: 328 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008568/0.3746, allocations: 0.5721 MB / 493.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3746, allocations: 29.7 kB / 493.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.3749, allocations: 483.1 kB / 494.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.375, allocations: 128.9 kB / 494.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.3751, allocations: 0 / 494.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3753, allocations: 379.3 kB / 494.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.3755, allocations: 119.9 kB / 494.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.3759, allocations: 422.2 kB / 495.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.3761, allocations: 182.5 kB / 495.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.3762, allocations: 4 kB / 495.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008131/0.377, allocations: 0.5629 MB / 496 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.377, allocations: 4 kB / 496 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.377, allocations: 12 kB / 496 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.3772, allocations: 36.47 kB / 496.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.3777, allocations: 167.7 kB / 496.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009834/0.3787, allocations: 1.24 MB / 497.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.3793, allocations: 27.89 kB / 497.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.3793, allocations: 34.5 kB / 497.5 MB, free: 12.24 MB / 346.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.0001151/0.3795, allocations: 136.2 kB / 497.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3796, allocations: 75.06 kB / 497.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.3801, allocations: 297 kB / 498 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.3801, allocations: 4 kB / 498 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3801, allocations: 3.938 kB / 498 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3801, allocations: 3.984 kB / 498 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.3816, allocations: 1.062 MB / 499.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3816, allocations: 8.156 kB / 499.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.382, allocations: 78.84 kB / 499.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.521e-05/0.3821, allocations: 19.47 kB / 499.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.3821, allocations: 5 kB / 499.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007877/0.3829, allocations: 1.216 MB / 0.4887 GB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3829, allocations: 8.125 kB / 0.4887 GB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007177/0.3837, allocations: 0.6326 MB / 0.4893 GB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.3839, allocations: 175.2 kB / 0.4895 GB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.384, allocations: 11.38 kB / 0.4895 GB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.3844, allocations: 24.08 kB / 0.4895 GB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.3844, allocations: 35.31 kB / 0.4896 GB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.3845, allocations: 12 kB / 0.4896 GB, free: 8.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0005112/0.385, allocations: 437.1 kB / 0.49 GB, free: 8.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007381/0.3857, allocations: 177.4 kB / 0.4902 GB, free: 8.211 MB / 346.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.0003707/0.3861, allocations: 260.9 kB / 0.4904 GB, free: 7.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007364/0.3869, allocations: 446.2 kB / 0.4908 GB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3869, allocations: 2.125 kB / 0.4908 GB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.3872, allocations: 217.7 kB / 0.491 GB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.388, allocations: 169.2 kB / 0.4912 GB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.3903, allocations: 1.23 MB / 0.4924 GB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007258/0.391, allocations: 1.077 MB / 0.4935 GB, free: 4.73 MB / 346.7 MB Notification: Performance of SimCode: time 5.61e-07/0.391, allocations: 0 / 0.4935 GB, free: 4.73 MB / 346.7 MB Notification: Performance of Templates: time 0.01589/0.4069, allocations: 8.08 MB / 0.5014 GB, free: 12.65 MB / 362.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