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.001614/0.001614, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002181/0.002181, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.002672/0.002672, allocations: 64.77 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2837, allocations: 53.38 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004148/0.2878, allocations: 2.804 MB / 434.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2892, allocations: 0.7594 MB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2893, allocations: 4 kB / 435.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.2895, allocations: 43.56 kB / 435.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.2897, allocations: 91.2 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.29, allocations: 119.7 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.2905, allocations: 382.5 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.2906, allocations: 60.89 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.2909, allocations: 159.5 kB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.2911, allocations: 167.3 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.2912, allocations: 39.98 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.672e-05/0.2913, allocations: 40 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.2913, allocations: 71.75 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.2915, allocations: 159.2 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.2919, allocations: 383.3 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2919, allocations: 0 / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2919, allocations: 0 / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2919, allocations: 0 / 437.2 MB, free: 1.609 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.001561/0.2935, allocations: 0.6087 MB / 437.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2936, allocations: 8.031 kB / 437.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.937e-05/0.2936, allocations: 58.72 kB / 437.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.2938, allocations: 44.75 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.2942, allocations: 217.1 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2942, allocations: 16.81 kB / 438.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.2943, allocations: 24.33 kB / 438.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.295, allocations: 317.8 kB / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.295, allocations: 0 / 438.5 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2951, allocations: 11.98 kB / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2951, allocations: 4 kB / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009152/0.296, allocations: 301.5 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2977, allocations: 0.9327 MB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.3006, allocations: 486.2 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/0.3012, allocations: 204.7 kB / 440.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.3013, allocations: 4 kB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006312/0.3019, allocations: 241.7 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.3019, allocations: 0 / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001533/0.3034, allocations: 473.6 kB / 441.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.3035, allocations: 110.8 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.3038, allocations: 237 kB / 441.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.3038, allocations: 37.73 kB / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.304, allocations: 160.5 kB / 441.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.304, allocations: 75.33 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3041, allocations: 53.86 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3043, allocations: 334.8 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.3048, allocations: 140.4 kB / 442.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.3052, allocations: 184.2 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008861/0.3061, allocations: 316.1 kB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3061, allocations: 0 / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001066/0.3072, allocations: 418.8 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.3072, allocations: 29.7 kB / 443.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3072, allocations: 4 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3072, allocations: 0 / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.309, allocations: 275.6 kB / 443.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.314, allocations: 3.244 MB / 446.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.3144, allocations: 51.97 kB / 446.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.3144, allocations: 8 kB / 446.7 MB, free: 7.578 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.0001914/0.3146, allocations: 147.7 kB / 446.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.3146, allocations: 23.86 kB / 446.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.3147, allocations: 30.11 kB / 446.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3147, allocations: 4 kB / 446.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3147, allocations: 4 kB / 446.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3147, allocations: 7.984 kB / 446.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.3165, allocations: 0.8711 MB / 447.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3165, allocations: 4.062 kB / 447.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.3182, allocations: 259.7 kB / 448 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3182, allocations: 4 kB / 448 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3182, allocations: 0 / 448 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.323, allocations: 3.244 MB / 451.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.323, allocations: 4 kB / 451.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3244, allocations: 0.6062 MB / 451.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.3245, allocations: 31.78 kB / 451.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.3245, allocations: 8.062 kB / 451.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.3249, allocations: 35.95 kB / 452 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.325, allocations: 31.95 kB / 452 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.325, allocations: 7.984 kB / 452 MB, free: 1.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.3252, allocations: 172.5 kB / 452.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3252, allocations: 4 kB / 452.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004717/0.3257, allocations: 83.89 kB / 452.3 MB, free: 1.691 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.001799/0.3274, allocations: 1.154 MB / 453.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.33, allocations: 0.5614 MB / 454 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.33, allocations: 0 / 454 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.3319, allocations: 375.8 kB / 454.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3324, allocations: 47.09 kB / 454.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005791/0.3381, allocations: 3.184 MB / 457.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.3385, allocations: 0.7518 MB / 458.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3387, allocations: 21.95 kB / 458.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3388, allocations: 87.39 kB / 458.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3388, allocations: 4 kB / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/0.3871, allocations: 6.639 MB / 465.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 6.484 kB / 465.1 MB, free: 4.855 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.405049847904593] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.069576499052346 12.084136335 11.789101364 Calling exit ...