Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 183.1 kB / 8.135 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.152/1.152, allocations: 221.4 MB / 229.9 MB, free: 3.367 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.0009214/0.0009214, allocations: 96.66 kB / 280.8 MB, free: 1.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.013e-06, allocations: 0 / 336.5 MB, free: 9.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 50.39 MB / 386.9 MB, free: 38.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08609/0.2788, allocations: 80.16 MB / 467.1 MB, free: 6.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.279, allocations: 75.91 kB / 467.1 MB, free: 6.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01458/0.2936, allocations: 4.675 MB / 471.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.2937, allocations: 12 kB / 471.8 MB, free: 1.98 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.001205/0.2949, allocations: 0.6176 MB / 472.4 MB, free: 1.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2949, allocations: 8.031 kB / 472.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.295, allocations: 36.3 kB / 472.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.2953, allocations: 263.6 kB / 472.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.2954, allocations: 4 kB / 472.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.2954, allocations: 12 kB / 472.8 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003365/0.2958, allocations: 164.9 kB / 472.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.2961, allocations: 218.2 kB / 473.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2961, allocations: 0 / 473.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.2962, allocations: 0 / 473.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.2962, allocations: 5.125 kB / 473.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.2981, allocations: 0.9877 MB / 474.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.2983, allocations: 105.7 kB / 474.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.2986, allocations: 158.5 kB / 474.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.2987, allocations: 4 kB / 474.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.2989, allocations: 163.2 kB / 474.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.2989, allocations: 0 / 474.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003993/0.2993, allocations: 193.7 kB / 474.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2994, allocations: 106.8 kB / 474.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.2996, allocations: 191.9 kB / 475 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.2996, allocations: 25.7 kB / 475.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.2997, allocations: 141 kB / 475.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.2998, allocations: 70.94 kB / 475.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.2998, allocations: 0 / 475.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2999, allocations: 338.9 kB / 475.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3001, allocations: 76.39 kB / 475.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3002, allocations: 108.1 kB / 475.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3004, allocations: 75.91 kB / 475.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3004, allocations: 0 / 475.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003959/0.3008, allocations: 237.3 kB / 476.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3008, allocations: 5.219 kB / 476.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3008, allocations: 0 / 476.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3008, allocations: 4 kB / 476.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.3035, allocations: 359.7 kB / 476.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/0.3084, allocations: 3.005 MB / 479.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.3089, allocations: 67.91 kB / 479.5 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.309, allocations: 8 kB / 479.5 MB, free: 9.801 MB / 362.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.0001199/0.3091, allocations: 122.1 kB / 479.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.3091, allocations: 23.72 kB / 479.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.3092, allocations: 25.89 kB / 479.7 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3092, allocations: 4 kB / 479.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3092, allocations: 0 / 479.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3092, allocations: 0 / 479.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3104, allocations: 0.7463 MB / 480.4 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3104, allocations: 3.938 kB / 480.4 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/0.313, allocations: 347.8 kB / 480.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.313, allocations: 4 kB / 480.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.313, allocations: 3.984 kB / 480.8 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004503/0.3175, allocations: 3.006 MB / 483.8 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.3176, allocations: 0 / 483.8 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006187/0.3182, allocations: 450 kB / 484.2 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.3183, allocations: 108.7 kB / 484.3 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.3184, allocations: 8 kB / 484.3 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.3188, allocations: 56.02 kB / 484.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.3189, allocations: 31.94 kB / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.3189, allocations: 4 kB / 484.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001437/0.3191, allocations: 160.4 kB / 484.6 MB, free: 4.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000483/0.3196, allocations: 79.84 kB / 484.7 MB, free: 4.324 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.0001637/0.3197, allocations: 105 kB / 484.8 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003545/0.3233, allocations: 0.5889 MB / 485.4 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3233, allocations: 0 / 485.4 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003269/0.3266, allocations: 499.8 kB / 485.9 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.327, allocations: 24.42 kB / 485.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.3287, allocations: 476.5 kB / 486.3 MB, free: 2.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.3291, allocations: 0.7735 MB / 487.1 MB, free: 1.82 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3291, allocations: 0 / 487.1 MB, free: 1.82 MB / 362.7 MB Notification: Performance of Templates: time 0.006842/0.336, allocations: 3.273 MB / 490.4 MB, free: 14.59 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches