Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 120 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 230.5 MB / 254.8 MB, free: 15.24 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 75.83 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.099, allocations: 53.32 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004049/0.1031, allocations: 2.779 MB / 429.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1046, allocations: 0.7478 MB / 430.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1047, allocations: 7.938 kB / 430.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.1049, allocations: 39.58 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.105, allocations: 95.14 kB / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1054, allocations: 115.8 kB / 430.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000441/0.1059, allocations: 386.5 kB / 431.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.106, allocations: 60.7 kB / 431.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.1063, allocations: 159.5 kB / 431.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1065, allocations: 167.3 kB / 431.6 MB, free: 196 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.1066, allocations: 39.94 kB / 431.6 MB, free: 156 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.1067, allocations: 47.98 kB / 431.6 MB, free: 108 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.1067, allocations: 67.75 kB / 431.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.1069, allocations: 151.4 kB / 431.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.1073, allocations: 378.4 kB / 432.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1073, allocations: 0 / 432.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1073, allocations: 0 / 432.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1073, allocations: 0 / 432.2 MB, free: 15.52 MB / 366.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.001636/0.109, allocations: 0.6879 MB / 432.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.109, allocations: 8.031 kB / 432.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.592e-05/0.1091, allocations: 66.66 kB / 433 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.1093, allocations: 44.73 kB / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.1097, allocations: 278.9 kB / 433.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.1097, allocations: 16.8 kB / 433.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.1098, allocations: 28.33 kB / 433.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007983/0.1106, allocations: 309.9 kB / 433.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1106, allocations: 0 / 433.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1106, allocations: 8 kB / 433.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1106, allocations: 4 kB / 433.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009999/0.1116, allocations: 309.5 kB / 434 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.1134, allocations: 0.9572 MB / 434.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.1163, allocations: 486.2 kB / 435.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.1169, allocations: 208.6 kB / 435.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.117, allocations: 3.984 kB / 435.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006714/0.1176, allocations: 252.1 kB / 435.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.1176, allocations: 0 / 435.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001675/0.1193, allocations: 471.5 kB / 436.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.1194, allocations: 110.8 kB / 436.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.1196, allocations: 241 kB / 436.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.1197, allocations: 29.7 kB / 436.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1198, allocations: 160.3 kB / 436.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.1199, allocations: 83.31 kB / 436.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.12, allocations: 41.94 kB / 437 MB, free: 10.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1201, allocations: 334.8 kB / 437.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.1206, allocations: 144.3 kB / 437.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.1212, allocations: 180.2 kB / 437.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.1221, allocations: 324 kB / 437.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1221, allocations: 4 kB / 437.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00116/0.1233, allocations: 410.9 kB / 438.3 MB, free: 9.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.1233, allocations: 33.7 kB / 438.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1233, allocations: 0 / 438.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1233, allocations: 4 kB / 438.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.1251, allocations: 267.6 kB / 438.6 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/0.1301, allocations: 3.447 MB / 442.1 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.1305, allocations: 55.95 kB / 442.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.1305, allocations: 8 kB / 442.1 MB, free: 5.016 MB / 366.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.0001746/0.1307, allocations: 141.7 kB / 442.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.1307, allocations: 23.86 kB / 442.3 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.1308, allocations: 30.17 kB / 442.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1308, allocations: 8 kB / 442.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1308, allocations: 0 / 442.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1308, allocations: 0 / 442.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.1326, allocations: 0.9098 MB / 443.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1326, allocations: 3.984 kB / 443.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.1344, allocations: 255.7 kB / 443.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1344, allocations: 4 kB / 443.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.1344, allocations: 11.94 kB / 443.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1795/0.3139, allocations: 3.439 MB / 447 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3139, allocations: 6.688 kB / 447 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.3156, allocations: 0.6069 MB / 447.6 MB, free: 23.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.3157, allocations: 98.16 kB / 447.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.3157, allocations: 8.969 kB / 447.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.3161, allocations: 43.42 kB / 447.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.3162, allocations: 25.75 kB / 447.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3162, allocations: 9.891 kB / 447.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.3164, allocations: 171.2 kB / 447.9 MB, free: 22.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3164, allocations: 3.781 kB / 447.9 MB, free: 22.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004778/0.3168, allocations: 85.89 kB / 448 MB, free: 22.95 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.001616/0.3184, allocations: 1.156 MB / 449.2 MB, free: 22.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00241/0.3209, allocations: 0.5581 MB / 449.7 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3209, allocations: 1.062 kB / 449.7 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.3228, allocations: 384.9 kB / 450.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3232, allocations: 37.31 kB / 450.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.3284, allocations: 3.168 MB / 453.3 MB, free: 20.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.3286, allocations: 0.7513 MB / 454 MB, free: 20.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.3287, allocations: 23.98 kB / 454.1 MB, free: 20.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3288, allocations: 87.25 kB / 454.2 MB, free: 20.07 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3288, allocations: 0 / 454.2 MB, free: 20.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.3642, allocations: 6.525 MB / 460.7 MB, free: 19.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.16, allocations: 11.2 kB / 460.7 MB, free: 19.43 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.610507995821536] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.259304306004196 12.275083026 12.164585266 Calling exit ...