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.001132/0.001132, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.000974/0.000974, allocations: 170 kB / 23.94 MB, free: 0.6211 MB / 18.57 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 0.907/0.907, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.303e-06/1.303e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.669e-05, allocations: 4.531 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002485/0.002502, allocations: 2.603 MB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008933/0.003395, allocations: 0.7166 MB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.003499, allocations: 7.938 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.003616, allocations: 39.58 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.003741, allocations: 95.19 kB / 328 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.004049, allocations: 123.6 kB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.004334, allocations: 398.3 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.004471, allocations: 48.91 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.004744, allocations: 231.5 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.004879, allocations: 127.7 kB / 328.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.004919, allocations: 36 kB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.84e-05/0.004977, allocations: 36 kB / 329 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.005024, allocations: 71.73 kB / 329.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.858e-05/0.005112, allocations: 115.7 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.005433, allocations: 394.8 kB / 329.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.005436, allocations: 0 / 329.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005437, allocations: 0 / 329.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005442, allocations: 0 / 329.6 MB, free: 10.87 MB / 298.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.0009554/0.006398, allocations: 0.6155 MB / 330.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.006438, allocations: 8.031 kB / 330.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.006484, allocations: 54.73 kB / 330.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.006595, allocations: 40.73 kB / 330.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.006879, allocations: 224.7 kB / 330.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.006899, allocations: 16.86 kB / 330.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.006938, allocations: 24.31 kB / 330.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.007412, allocations: 344.9 kB / 330.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.007422, allocations: 192 / 330.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.007444, allocations: 8.125 kB / 330.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.007452, allocations: 8 kB / 330.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.007968, allocations: 301.8 kB / 331.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.009307, allocations: 0.8708 MB / 332.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.01069, allocations: 490.2 kB / 332.6 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.01106, allocations: 208.7 kB / 332.8 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.01109, allocations: 4 kB / 332.8 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.01148, allocations: 259.5 kB / 333 MB, free: 7.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.01148, allocations: 0 / 333 MB, free: 7.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008765/0.01235, allocations: 473.5 kB / 333.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.01241, allocations: 118.8 kB / 333.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.01258, allocations: 241.9 kB / 333.8 MB, free: 6.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.01261, allocations: 29.7 kB / 333.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.648e-05/0.01269, allocations: 160.5 kB / 334 MB, free: 6.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.01275, allocations: 79.36 kB / 334.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.01283, allocations: 41.94 kB / 334.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.01292, allocations: 334.8 kB / 334.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.0132, allocations: 174.1 kB / 334.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.01349, allocations: 232.6 kB / 334.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.014, allocations: 324.7 kB / 335.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.014, allocations: 0 / 335.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006177/0.01462, allocations: 436.6 kB / 335.6 MB, free: 4.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.01465, allocations: 41.77 kB / 335.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01465, allocations: 0 / 335.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.01467, allocations: 3.938 kB / 335.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.01548, allocations: 263.7 kB / 335.9 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.01838, allocations: 3.228 MB / 339.1 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.01857, allocations: 59.8 kB / 339.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01858, allocations: 4 kB / 339.2 MB, free: 0.7109 MB / 298.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 (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.0001213/0.0187, allocations: 141.8 kB / 339.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.01873, allocations: 31.75 kB / 339.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.01877, allocations: 34.17 kB / 339.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01877, allocations: 4 kB / 339.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01877, allocations: 0 / 339.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01878, allocations: 0 / 339.4 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.0198, allocations: 0.8367 MB / 340.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0198, allocations: 4.062 kB / 340.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/0.02058, allocations: 255.7 kB / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.02058, allocations: 4 kB / 340.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.0206, allocations: 3.938 kB / 340.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.02305, allocations: 3.24 MB / 343.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.02306, allocations: 0 / 343.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.02391, allocations: 0.6078 MB / 344.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.02394, allocations: 23.83 kB / 344.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.02397, allocations: 8 kB / 344.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.02414, allocations: 47.88 kB / 344.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.02422, allocations: 23.97 kB / 344.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.02424, allocations: 11.98 kB / 344.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.02436, allocations: 173.3 kB / 344.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02436, allocations: 4 kB / 344.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003734/0.02473, allocations: 79.89 kB / 344.7 MB, free: 10.89 MB / 314.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) * 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.001271/0.02601, allocations: 1.147 MB / 345.9 MB, free: 9.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.02731, allocations: 0.5942 MB / 346.5 MB, free: 9.098 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02732, allocations: 4.125 kB / 346.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.02825, allocations: 375.7 kB / 346.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.02856, allocations: 47.41 kB / 346.9 MB, free: 8.684 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.03217, allocations: 3.245 MB / 350.1 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.224e-05/0.03226, allocations: 142.2 kB / 350.3 MB, free: 5.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.744e-05/0.03236, allocations: 21.95 kB / 350.3 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.03247, allocations: 84.47 kB / 350.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of SimCode: time 1.322e-06/0.03247, allocations: 0 / 350.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.05759, allocations: 7.494 MB / 357.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/7.964, allocations: 10.25 kB / 357.9 MB, free: 13.7 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/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] "" Variables in the reference:time,inductor.i,thyristor_v4_1.vControl Variables in the result:time,inductor.i,thyristor_v4_1.vControl [Calling sys.exit(0), Time elapsed: 9.82147460989654]