Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001358/0.001358, allocations: 175.6 kB / 8.479 MB, free: 1.887 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.058/1.058, allocations: 205.2 MB / 214.1 MB, free: 5.145 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.0008446/0.0008446, allocations: 87.28 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.881e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06397/0.06399, allocations: 47.58 MB / 362.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.2788, allocations: 92.44 MB / 455 MB, free: 8.418 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.2791, allocations: 80.42 kB / 455.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.05452/0.3336, allocations: 22.63 MB / 477.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.583e-05/0.3337, allocations: 16 kB / 477.7 MB, free: 13.43 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001342/0.335, allocations: 0.9866 MB / 478.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3351, allocations: 8.031 kB / 478.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004819/0.3355, allocations: 150.7 kB / 478.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3366, allocations: 0.6842 MB / 479.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.3367, allocations: 24 kB / 479.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.3368, allocations: 55.84 kB / 479.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007174/0.3375, allocations: 431.6 kB / 480 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009165/0.3384, allocations: 0.6227 MB / 480.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3385, allocations: 11.77 kB / 480.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.3385, allocations: 4 kB / 480.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.3386, allocations: 24 kB / 480.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.342, allocations: 3.306 MB / 484 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3422, allocations: 128.5 kB / 484.1 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.3423, allocations: 86.11 kB / 484.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3424, allocations: 0 / 484.2 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3424, allocations: 41.06 kB / 484.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.072e-06/0.3424, allocations: 0 / 484.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001113/0.3435, allocations: 0.7509 MB / 485 MB, free: 7.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3436, allocations: 89.33 kB / 485.1 MB, free: 7.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.3442, allocations: 0.5246 MB / 485.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3442, allocations: 25.7 kB / 485.6 MB, free: 6.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.3444, allocations: 423 kB / 486.1 MB, free: 6.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.3445, allocations: 103.2 kB / 486.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.3445, allocations: 0 / 486.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3446, allocations: 371.6 kB / 486.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3448, allocations: 92.44 kB / 486.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.3451, allocations: 386.7 kB / 487 MB, free: 5.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.3453, allocations: 163.5 kB / 487.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3453, allocations: 4 kB / 487.2 MB, free: 5.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007437/0.3461, allocations: 0.5013 MB / 487.7 MB, free: 4.762 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3461, allocations: 4 kB / 487.7 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3461, allocations: 8 kB / 487.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.3463, allocations: 36.09 kB / 487.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.3468, allocations: 147.3 kB / 487.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009719/0.3478, allocations: 1.231 MB / 489.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.3482, allocations: 27.89 kB / 489.1 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.3482, allocations: 37.38 kB / 489.1 MB, free: 3.199 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001076/0.3483, allocations: 133.3 kB / 489.3 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.3484, allocations: 67.16 kB / 489.3 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.3489, allocations: 250.7 kB / 489.6 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.3489, allocations: 4 kB / 489.6 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3489, allocations: 0 / 489.6 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3489, allocations: 7.922 kB / 489.6 MB, free: 2.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.35, allocations: 0.9056 MB / 490.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.35, allocations: 0 / 490.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.3504, allocations: 83.34 kB / 490.6 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.377e-05/0.3504, allocations: 20.22 kB / 490.6 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3505, allocations: 4 kB / 490.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007756/0.3512, allocations: 1.22 MB / 491.8 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.3513, allocations: 7.938 kB / 491.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005619/0.3518, allocations: 0.5628 MB / 492.4 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.352, allocations: 164.3 kB / 492.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.3521, allocations: 4 kB / 492.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.3525, allocations: 23.97 kB / 492.6 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.3525, allocations: 14.73 kB / 492.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3525, allocations: 10.5 kB / 492.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004232/0.353, allocations: 393.5 kB / 493 MB, free: 15.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005983/0.3536, allocations: 155.2 kB / 493.1 MB, free: 15.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.0003408/0.3539, allocations: 267.5 kB / 493.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.3545, allocations: 381.7 kB / 493.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3545, allocations: 0 / 493.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.3547, allocations: 203.3 kB / 494 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.3554, allocations: 156 kB / 494.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.3571, allocations: 0.9891 MB / 495.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.3577, allocations: 1.01 MB / 496.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of SimCode: time 2.465e-06/0.3577, allocations: 0 / 496.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of Templates: time 0.01353/0.3713, allocations: 7.107 MB / 0.4914 GB, free: 5.559 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches