Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.002334/0.002334, allocations: 174.8 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.777/1.777, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001268/0.001268, allocations: 105 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.67e-05, allocations: 4 kB / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2433, allocations: 47.56 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.3664, allocations: 78.48 MB / 440.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.3667, allocations: 68.5 kB / 440.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02457/0.3913, allocations: 4.517 MB / 444.9 MB, free: 3.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.3914, allocations: 4 kB / 444.9 MB, free: 3.023 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00204/0.3934, allocations: 0.6177 MB / 445.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3935, allocations: 8.031 kB / 445.5 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.3936, allocations: 35.56 kB / 445.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.3941, allocations: 267.4 kB / 445.8 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.3942, allocations: 4.75 kB / 445.8 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.3943, allocations: 12 kB / 445.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006243/0.3949, allocations: 164.9 kB / 446 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.3955, allocations: 217 kB / 446.2 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3956, allocations: 0 / 446.2 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.3956, allocations: 0 / 446.2 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3956, allocations: 16.91 kB / 446.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.399, allocations: 0.9746 MB / 447.2 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.3994, allocations: 113.6 kB / 447.3 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.4, allocations: 149.9 kB / 447.5 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.4001, allocations: 4 kB / 447.5 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.4005, allocations: 155.2 kB / 447.6 MB, free: 116 kB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.925e-06/0.4005, allocations: 0 / 447.6 MB, free: 116 kB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006956/0.4012, allocations: 201.6 kB / 447.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.4013, allocations: 106.8 kB / 447.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.4016, allocations: 187.9 kB / 448.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.4016, allocations: 29.73 kB / 448.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4018, allocations: 207.3 kB / 448.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/0.4019, allocations: 67 kB / 448.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.4019, allocations: 0 / 448.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.402, allocations: 322.8 kB / 448.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.4023, allocations: 72.47 kB / 448.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.4026, allocations: 108.1 kB / 448.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.4029, allocations: 81.88 kB / 449 MB, free: 14.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4029, allocations: 4 kB / 449 MB, free: 14.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006911/0.4036, allocations: 218 kB / 449.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4037, allocations: 4 kB / 449.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4037, allocations: 4 kB / 449.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4037, allocations: 0 / 449.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004995/0.4087, allocations: 355.8 kB / 449.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008209/0.417, allocations: 3.002 MB / 452.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.4178, allocations: 70.42 kB / 452.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.4179, allocations: 8 kB / 452.6 MB, free: 10.82 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.0001401/0.418, allocations: 33.64 kB / 452.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.4181, allocations: 23.72 kB / 452.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.4182, allocations: 25.89 kB / 452.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4183, allocations: 4 kB / 452.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4183, allocations: 4 kB / 452.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4183, allocations: 3.984 kB / 452.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.4203, allocations: 0.7377 MB / 453.4 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4204, allocations: 0 / 453.4 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004867/0.4253, allocations: 351.7 kB / 453.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.4253, allocations: 8 kB / 453.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.4254, allocations: 3.984 kB / 453.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007809/0.4332, allocations: 3.008 MB / 456.8 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4332, allocations: 4.031 kB / 456.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001032/0.4343, allocations: 430.8 kB / 457.2 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/0.4344, allocations: 109 kB / 457.3 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.4345, allocations: 3.906 kB / 457.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/0.4353, allocations: 56.45 kB / 457.4 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.4355, allocations: 23.95 kB / 457.4 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-05/0.4355, allocations: 11.94 kB / 457.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002205/0.4357, allocations: 156.5 kB / 457.6 MB, free: 5.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006492/0.4364, allocations: 79.84 kB / 457.7 MB, free: 5.449 MB / 346.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.0002138/0.4366, allocations: 107.7 kB / 457.8 MB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006494/0.4431, allocations: 0.5871 MB / 458.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.4432, allocations: 3.938 kB / 458.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006108/0.4493, allocations: 496.3 kB / 458.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.4499, allocations: 25.17 kB / 458.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.4525, allocations: 0.5015 MB / 459.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/0.4531, allocations: 0.7852 MB / 460.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4531, allocations: 0 / 460.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of Templates: time 0.01092/0.464, allocations: 5.145 MB / 465.3 MB, free: 13.77 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches