Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001511/0.001512, allocations: 173.9 kB / 8.475 MB, free: 1.871 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.2/1.2, allocations: 205.2 MB / 214.1 MB, free: 5.52 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.0009109/0.0009109, allocations: 86.33 kB / 262.1 MB, free: 5.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.924e-06/7.965e-06, allocations: 0 / 315 MB, free: 41.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.0854, allocations: 47.58 MB / 362.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2378/0.3233, allocations: 78.47 MB / 441 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.3235, allocations: 65.72 kB / 441.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01359/0.3371, allocations: 4.514 MB / 445.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3371, allocations: 3.938 kB / 445.6 MB, free: 10.44 MB / 314.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.001148/0.3383, allocations: 0.6181 MB / 446.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3383, allocations: 7.688 kB / 446.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.3384, allocations: 31 kB / 446.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3387, allocations: 264.2 kB / 446.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3388, allocations: 11.72 kB / 446.5 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.3388, allocations: 12.23 kB / 446.5 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003164/0.3391, allocations: 166.2 kB / 446.7 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.3395, allocations: 215.2 kB / 446.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3395, allocations: 0 / 446.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3395, allocations: 3.875 kB / 446.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.3395, allocations: 7.75 kB / 446.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3412, allocations: 0.9749 MB / 447.9 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3414, allocations: 116.1 kB / 448 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.3417, allocations: 151.3 kB / 448.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3417, allocations: 7.516 kB / 448.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.342, allocations: 156.2 kB / 448.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.342, allocations: 4 kB / 448.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003661/0.3424, allocations: 203.3 kB / 448.5 MB, free: 8.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3424, allocations: 110.7 kB / 448.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3425, allocations: 186 kB / 448.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3426, allocations: 29.61 kB / 448.8 MB, free: 8.578 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.3426, allocations: 144.7 kB / 449 MB, free: 8.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.3427, allocations: 65.36 kB / 449 MB, free: 8.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.3427, allocations: 0 / 449 MB, free: 8.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.3428, allocations: 338.3 kB / 449.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3429, allocations: 75.16 kB / 449.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3431, allocations: 108.5 kB / 449.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3432, allocations: 72.12 kB / 449.6 MB, free: 8.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3432, allocations: 0 / 449.6 MB, free: 8.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003557/0.3436, allocations: 232 kB / 449.8 MB, free: 7.965 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3436, allocations: 9.531 kB / 449.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3436, allocations: 3.906 kB / 449.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3436, allocations: 0 / 449.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.3462, allocations: 361.9 kB / 450.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.3502, allocations: 3.018 MB / 453.2 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.3506, allocations: 65.73 kB / 453.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.3506, allocations: 11.12 kB / 453.3 MB, free: 5.039 MB / 314.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 9.144e-05/0.3507, allocations: 116.6 kB / 453.4 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.3508, allocations: 23.22 kB / 453.4 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.3508, allocations: 24.47 kB / 453.5 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3508, allocations: 0 / 453.5 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3508, allocations: 3.984 kB / 453.5 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3508, allocations: 3.875 kB / 453.5 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009647/0.3518, allocations: 0.7357 MB / 454.2 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3518, allocations: 0 / 454.2 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/0.3543, allocations: 356.3 kB / 454.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3543, allocations: 3.75 kB / 454.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.3543, allocations: 3.906 kB / 454.6 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.3586, allocations: 3.007 MB / 457.6 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3586, allocations: 3.906 kB / 457.6 MB, free: 17.54 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004855/0.3591, allocations: 438.3 kB / 458 MB, free: 17.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.3591, allocations: 104.2 kB / 458.1 MB, free: 17.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.3592, allocations: 0 / 458.1 MB, free: 17.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.3596, allocations: 58.92 kB / 458.2 MB, free: 17.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3597, allocations: 26.98 kB / 458.2 MB, free: 17.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3597, allocations: 11.19 kB / 458.2 MB, free: 17.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001078/0.3598, allocations: 153.1 kB / 458.4 MB, free: 17.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004174/0.3603, allocations: 73.38 kB / 458.4 MB, free: 17.09 MB / 330.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.0001459/0.3604, allocations: 114.6 kB / 458.5 MB, free: 16.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003397/0.3638, allocations: 0.5927 MB / 459.1 MB, free: 16.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3638, allocations: 3.938 kB / 459.1 MB, free: 16.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0031/0.3669, allocations: 491.7 kB / 459.6 MB, free: 16.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3672, allocations: 27.11 kB / 459.6 MB, free: 16.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3686, allocations: 476.3 kB / 460.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/0.3689, allocations: 0.7787 MB / 460.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3689, allocations: 0 / 460.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of Templates: time 0.00586/0.3748, allocations: 3.279 MB / 464.2 MB, free: 13.99 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches