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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 185.7 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2517, allocations: 52.17 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00414/0.2559, allocations: 2.779 MB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2571, allocations: 0.7089 MB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2573, allocations: 4 kB / 426.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.2574, allocations: 39.58 kB / 426.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.2576, allocations: 95.2 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2579, allocations: 103.8 kB / 426.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.2583, allocations: 378.5 kB / 426.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2585, allocations: 56.91 kB / 426.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.2587, allocations: 155.5 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.259, allocations: 171.3 kB / 427.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.2591, allocations: 36 kB / 427.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.2591, allocations: 36 kB / 427.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.2592, allocations: 67.8 kB / 427.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.2594, allocations: 159.2 kB / 427.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.2598, allocations: 363 kB / 427.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2598, allocations: 0 / 427.7 MB, free: 9.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2598, allocations: 3.938 kB / 427.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2598, allocations: 0 / 427.7 MB, free: 9.449 MB / 334.1 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.001579/0.2614, allocations: 0.6087 MB / 428.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2614, allocations: 12.03 kB / 428.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.049e-05/0.2615, allocations: 54.73 kB / 428.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.2615, allocations: 32.75 kB / 428.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.2619, allocations: 214.8 kB / 428.7 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.2619, allocations: 16.81 kB / 428.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.262, allocations: 20.33 kB / 428.7 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/0.2628, allocations: 313.8 kB / 429 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2628, allocations: 0 / 429 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2628, allocations: 12 kB / 429 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2628, allocations: 4 kB / 429 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009169/0.2637, allocations: 293.5 kB / 429.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.2655, allocations: 0.925 MB / 430.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.2685, allocations: 478.2 kB / 430.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.2691, allocations: 204.6 kB / 430.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.2691, allocations: 0 / 430.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006283/0.2698, allocations: 240.7 kB / 431.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.2698, allocations: 3.938 kB / 431.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0015/0.2713, allocations: 461.6 kB / 431.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.2713, allocations: 106.8 kB / 431.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.2716, allocations: 233 kB / 431.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.2716, allocations: 37.67 kB / 432 MB, free: 5.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.2717, allocations: 164.4 kB / 432.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.2718, allocations: 75.41 kB / 432.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.2719, allocations: 45.89 kB / 432.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2721, allocations: 334.8 kB / 432.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.2725, allocations: 140.4 kB / 432.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.273, allocations: 173.4 kB / 432.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/0.2739, allocations: 312.1 kB / 433.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2739, allocations: 4 kB / 433.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001103/0.275, allocations: 410.9 kB / 433.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.2751, allocations: 33.7 kB / 433.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2751, allocations: 7.969 kB / 433.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2751, allocations: 4 kB / 433.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.277, allocations: 235.7 kB / 433.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/0.2818, allocations: 3.182 MB / 437 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.2822, allocations: 55.83 kB / 437.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.2822, allocations: 7.984 kB / 437.1 MB, free: 15.58 MB / 350.1 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 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.2824, allocations: 148.4 kB / 437.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.2825, allocations: 23.86 kB / 437.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.523e-05/0.2825, allocations: 34.11 kB / 437.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2825, allocations: 0 / 437.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2825, allocations: 4 kB / 437.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2825, allocations: 0 / 437.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.2843, allocations: 0.8651 MB / 438.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2843, allocations: 3.938 kB / 438.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.2861, allocations: 235.7 kB / 438.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.2861, allocations: 7.984 kB / 438.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.2861, allocations: 8 kB / 438.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004797/0.2909, allocations: 3.209 MB / 441.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2909, allocations: 4.031 kB / 441.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.2924, allocations: 0.5867 MB / 442.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.2925, allocations: 35.81 kB / 442.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.2925, allocations: 12 kB / 442.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.2929, allocations: 35.95 kB / 442.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.293, allocations: 27.95 kB / 442.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.293, allocations: 4 kB / 442.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.2932, allocations: 172.5 kB / 442.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2932, allocations: 4 kB / 442.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.2937, allocations: 83.89 kB / 442.6 MB, free: 9.785 MB / 350.1 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) * Number of clocked states: 0 () * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/0.2955, allocations: 1.149 MB / 443.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.2981, allocations: 0.5224 MB / 444.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2981, allocations: 3.938 kB / 444.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.3001, allocations: 347.3 kB / 444.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.3005, allocations: 48.33 kB / 444.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.3064, allocations: 3.138 MB / 447.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3068, allocations: 0.7557 MB / 448.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.3069, allocations: 29.92 kB / 448.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3071, allocations: 79.41 kB / 448.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3071, allocations: 0 / 448.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.343, allocations: 6.561 MB / 455.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.01, allocations: 11.81 kB / 455.2 MB, free: 13.14 MB / 366.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv --start-time 0 --stop-time 0.0002 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.97456e-08 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.64209583200136]