Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [: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 trunk/package.mo): time 0.001294/0.001294, allocations: 205.6 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009713/0.0009714, allocations: 99.27 kB / 286.3 MB, free: 5.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.684e-06, allocations: 0 / 343.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09032, allocations: 51.47 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.3126, allocations: 80.95 MB / 475.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.3128, allocations: 68.64 kB / 475.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01335/0.3261, allocations: 4.751 MB / 480.4 MB, free: 8.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3262, allocations: 8 kB / 480.4 MB, free: 8.461 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001041/0.3272, allocations: 0.6253 MB / 481 MB, free: 7.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3273, allocations: 8.031 kB / 481 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.3274, allocations: 51.17 kB / 481.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3277, allocations: 262.4 kB / 481.3 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3278, allocations: 4 kB / 481.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.3278, allocations: 12 kB / 481.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003233/0.3281, allocations: 164.5 kB / 481.5 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.3285, allocations: 213.2 kB / 481.7 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3285, allocations: 4.625 kB / 481.7 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.3286, allocations: 0 / 481.7 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3286, allocations: 11.91 kB / 481.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.3303, allocations: 0.9794 MB / 482.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3305, allocations: 109.6 kB / 482.8 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.3308, allocations: 149.4 kB / 483 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3309, allocations: 7.984 kB / 483 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.3311, allocations: 165.5 kB / 483.1 MB, free: 5.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.3311, allocations: 0 / 483.1 MB, free: 5.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003651/0.3315, allocations: 196.1 kB / 483.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3315, allocations: 110.6 kB / 483.4 MB, free: 5.719 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3317, allocations: 186.9 kB / 483.6 MB, free: 5.562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3317, allocations: 25.7 kB / 483.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.3318, allocations: 142.8 kB / 483.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.3318, allocations: 73.11 kB / 483.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.3318, allocations: 0 / 483.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.3319, allocations: 336.9 kB / 484.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.332, allocations: 73.55 kB / 484.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3322, allocations: 115 kB / 484.4 MB, free: 4.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3323, allocations: 65.61 kB / 484.4 MB, free: 4.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3323, allocations: 4.031 kB / 484.4 MB, free: 4.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003571/0.3327, allocations: 232.5 kB / 484.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3327, allocations: 8 kB / 484.7 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3327, allocations: 0.875 kB / 484.7 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3327, allocations: 0 / 484.7 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.3353, allocations: 363 kB / 485 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.3393, allocations: 3.005 MB / 488 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.3398, allocations: 71.97 kB / 488.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.3398, allocations: 11.34 kB / 488.1 MB, free: 1.102 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.3399, allocations: 112.6 kB / 488.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.34, allocations: 23.72 kB / 488.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.34, allocations: 23.95 kB / 488.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3401, allocations: 4 kB / 488.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3401, allocations: 0 / 488.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3401, allocations: 0 / 488.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.3411, allocations: 0.745 MB / 489 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3411, allocations: 3.938 kB / 489 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/0.3436, allocations: 351.7 kB / 489.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3436, allocations: 6.531 kB / 489.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.3437, allocations: 11.14 kB / 489.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/0.3481, allocations: 3.004 MB / 492.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3481, allocations: 12.16 kB / 492.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005831/0.3487, allocations: 432 kB / 492.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.3487, allocations: 104.8 kB / 492.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.3488, allocations: 7.5 kB / 492.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.3493, allocations: 60.02 kB / 493 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.3493, allocations: 29.48 kB / 493 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3494, allocations: 4 kB / 493 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001271/0.3495, allocations: 159.8 kB / 493.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004661/0.35, allocations: 75.84 kB / 493.2 MB, free: 12.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.3501, allocations: 114.5 kB / 493.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.3537, allocations: 0.5898 MB / 493.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3537, allocations: 0 / 493.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003302/0.357, allocations: 491.4 kB / 494.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.3573, allocations: 26.61 kB / 494.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3588, allocations: 476.8 kB / 494.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.3592, allocations: 0.7805 MB / 495.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3593, allocations: 1.312 kB / 495.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of Templates: time 0.006593/0.3659, allocations: 3.224 MB / 498.9 MB, free: 6.516 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches