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.001793/0.001793, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002042/0.002042, allocations: 186 kB / 23.7 MB, free: 4.191 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.452/1.452, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.001526/0.001526, allocations: 51.92 kB / 370.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2516, allocations: 52.18 MB / 422.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004406/0.256, allocations: 2.561 MB / 425.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2577, allocations: 0.67 MB / 425.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.2579, allocations: 4 kB / 425.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.2581, allocations: 43.58 kB / 425.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.2584, allocations: 87.2 kB / 425.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.2589, allocations: 103.8 kB / 426 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006041/0.2595, allocations: 386.5 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2597, allocations: 54.61 kB / 426.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.2601, allocations: 155.5 kB / 426.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.2603, allocations: 147.4 kB / 426.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.2604, allocations: 32 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.2605, allocations: 36 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.39e-05/0.2606, allocations: 75.67 kB / 426.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2607, allocations: 131.4 kB / 427 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.2612, allocations: 374.5 kB / 427.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2612, allocations: 0 / 427.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2612, allocations: 0 / 427.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.2612, allocations: 4 kB / 427.4 MB, free: 9.598 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.001646/0.2629, allocations: 0.6078 MB / 428 MB, free: 8.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2629, allocations: 8.031 kB / 428 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.643e-05/0.263, allocations: 54.73 kB / 428.1 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.2631, allocations: 28.75 kB / 428.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.2636, allocations: 218.8 kB / 428.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.2637, allocations: 20.81 kB / 428.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.2637, allocations: 24.27 kB / 428.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.2645, allocations: 335.6 kB / 428.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2646, allocations: 0 / 428.7 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2646, allocations: 12 kB / 428.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2646, allocations: 4 kB / 428.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009517/0.2656, allocations: 289.5 kB / 429 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.2674, allocations: 0.8548 MB / 429.8 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.2702, allocations: 486.1 kB / 430.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000645/0.2708, allocations: 192.7 kB / 430.5 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.2709, allocations: 8 kB / 430.5 MB, free: 6.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007138/0.2716, allocations: 269.4 kB / 430.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.704e-06/0.2716, allocations: 0 / 430.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001579/0.2731, allocations: 457.6 kB / 431.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.2732, allocations: 110.8 kB / 431.3 MB, free: 5.453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.2735, allocations: 229 kB / 431.5 MB, free: 5.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.2735, allocations: 37.72 kB / 431.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2737, allocations: 164.4 kB / 431.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.2737, allocations: 79.36 kB / 431.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2739, allocations: 41.94 kB / 431.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.274, allocations: 334.8 kB / 432.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.2745, allocations: 166.1 kB / 432.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.275, allocations: 228.8 kB / 432.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.276, allocations: 316.1 kB / 432.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.276, allocations: 4 kB / 432.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001118/0.2771, allocations: 444.5 kB / 433.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.2771, allocations: 29.7 kB / 433.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2771, allocations: 7.984 kB / 433.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.2772, allocations: 4.062 kB / 433.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.2788, allocations: 235.7 kB / 433.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004768/0.2836, allocations: 3.171 MB / 436.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.2839, allocations: 55.86 kB / 436.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.284, allocations: 12.09 kB / 436.8 MB, free: 15.62 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.0001735/0.2841, allocations: 141.7 kB / 437 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.2842, allocations: 23.86 kB / 437 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.2843, allocations: 34.11 kB / 437 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2843, allocations: 0 / 437 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2843, allocations: 0 / 437 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2843, allocations: 4 kB / 437 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.2861, allocations: 0.8406 MB / 437.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2861, allocations: 0 / 437.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.2877, allocations: 231.8 kB / 438.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.2877, allocations: 3.984 kB / 438.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.2878, allocations: 12 kB / 438.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/0.2924, allocations: 3.193 MB / 441.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2924, allocations: 3.984 kB / 441.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.2939, allocations: 0.5922 MB / 441.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.294, allocations: 31.77 kB / 441.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.294, allocations: 8 kB / 441.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.2943, allocations: 35.95 kB / 442 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.2944, allocations: 27.95 kB / 442 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.2945, allocations: 7.984 kB / 442 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.2946, allocations: 172.5 kB / 442.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2946, allocations: 4.062 kB / 442.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.2951, allocations: 83.89 kB / 442.3 MB, free: 9.875 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.001874/0.297, allocations: 1.143 MB / 443.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002463/0.2994, allocations: 0.5583 MB / 444 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2994, allocations: 0 / 444 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.3013, allocations: 343.8 kB / 444.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3017, allocations: 52.33 kB / 444.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.3076, allocations: 3.258 MB / 447.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.3077, allocations: 142.2 kB / 447.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.3079, allocations: 25.94 kB / 447.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.308, allocations: 83.41 kB / 447.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.308, allocations: 0 / 447.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.3455, allocations: 7.24 MB / 455.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.87, allocations: 10.67 kB / 455.1 MB, free: 13.02 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.48104253411293]