Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002293/0.002293, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 55.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1229, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004297/0.1272, allocations: 2.783 MB / 429.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1286, allocations: 0.7518 MB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1287, allocations: 7.938 kB / 429.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1289, allocations: 43.56 kB / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1291, allocations: 83.27 kB / 430 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.1294, allocations: 123.7 kB / 430.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.1298, allocations: 374.6 kB / 430.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.13, allocations: 68.64 kB / 430.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1303, allocations: 155.5 kB / 430.7 MB, free: 372 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1305, allocations: 171.3 kB / 430.9 MB, free: 200 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.1306, allocations: 36 kB / 430.9 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.091e-05/0.1306, allocations: 36 kB / 430.9 MB, free: 128 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.1307, allocations: 71.69 kB / 431 MB, free: 56 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1944/0.3251, allocations: 160.9 kB / 431.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.3256, allocations: 377.1 kB / 431.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3257, allocations: 0.9688 kB / 431.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3257, allocations: 0 / 431.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3257, allocations: 5.75 kB / 431.5 MB, free: 7.957 MB / 350.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.001508/0.3272, allocations: 0.6826 MB / 432.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3272, allocations: 10.06 kB / 432.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.3273, allocations: 54.8 kB / 432.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.3274, allocations: 41.33 kB / 432.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.3278, allocations: 274.8 kB / 432.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.3278, allocations: 17.34 kB / 432.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.3279, allocations: 29.55 kB / 432.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.3286, allocations: 314.3 kB / 432.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3286, allocations: 1.312 kB / 432.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.3287, allocations: 10.22 kB / 433 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3287, allocations: 4.531 kB / 433 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009191/0.3296, allocations: 297.6 kB / 433.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.3311, allocations: 0.9664 MB / 434.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.3339, allocations: 496.7 kB / 434.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.3345, allocations: 203.7 kB / 434.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3346, allocations: 3.016 kB / 434.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006487/0.3352, allocations: 240.2 kB / 435.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.3352, allocations: 0 / 435.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001615/0.3368, allocations: 474 kB / 435.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3369, allocations: 110.4 kB / 435.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.3371, allocations: 236.6 kB / 435.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3371, allocations: 31.64 kB / 436 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.3372, allocations: 166.2 kB / 436.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.3373, allocations: 73.98 kB / 436.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.3374, allocations: 48.56 kB / 436.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.3375, allocations: 334.3 kB / 436.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.338, allocations: 142.1 kB / 436.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.3385, allocations: 179.8 kB / 436.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.3394, allocations: 319.5 kB / 437.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3394, allocations: 0 / 437.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001136/0.3405, allocations: 409.8 kB / 437.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.3405, allocations: 40.78 kB / 437.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3405, allocations: 1.703 kB / 437.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3406, allocations: 1.219 kB / 437.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.3423, allocations: 269 kB / 437.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.3463, allocations: 3.441 MB / 441.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.3467, allocations: 54.56 kB / 441.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.3467, allocations: 14.67 kB / 441.4 MB, free: 2.531 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.0001711/0.3469, allocations: 146.7 kB / 441.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.347, allocations: 24.12 kB / 441.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.347, allocations: 35.52 kB / 441.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.347, allocations: 2.188 kB / 441.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.347, allocations: 1.156 kB / 441.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.347, allocations: 6.516 kB / 441.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.3488, allocations: 0.8978 MB / 442.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3488, allocations: 1.156 kB / 442.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.3505, allocations: 260.6 kB / 442.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3505, allocations: 3 kB / 442.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3505, allocations: 7.828 kB / 442.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004604/0.3551, allocations: 3.449 MB / 446.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3551, allocations: 1.094 kB / 446.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.3569, allocations: 0.5995 MB / 446.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.357, allocations: 106.9 kB / 446.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.3571, allocations: 11.66 kB / 447 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.3574, allocations: 41.11 kB / 447 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3575, allocations: 28.56 kB / 447 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3576, allocations: 11.77 kB / 447 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.3578, allocations: 175.3 kB / 447.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 447.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005474/0.3583, allocations: 88.88 kB / 447.3 MB, free: 14.23 MB / 366.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.001975/0.3603, allocations: 1.156 MB / 448.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.3629, allocations: 0.5603 MB / 449 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3629, allocations: 3.281 kB / 449 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.3649, allocations: 375.4 kB / 449.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.3654, allocations: 42.98 kB / 449.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006227/0.3716, allocations: 3.167 MB / 452.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.372, allocations: 0.7546 MB / 453.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.3722, allocations: 28.36 kB / 453.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.3724, allocations: 83.48 kB / 453.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3724, allocations: 0 / 453.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/0.4143, allocations: 6.504 MB / 460 MB, free: 8.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 8.172 kB / 460 MB, free: 8.324 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.48048614700383]