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.001304/0.001304, allocations: 123.6 kB / 18.45 MB, free: 4.633 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.001364/0.001364, allocations: 205.7 kB / 21.41 MB, free: 1.684 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.446/1.446, allocations: 227.7 MB / 251.9 MB, free: 15.88 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.002845/0.002846, allocations: 67.83 kB / 365.2 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1084, allocations: 50.55 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003978/0.1124, allocations: 2.76 MB / 418.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1138, allocations: 0.7478 MB / 419.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1139, allocations: 4 kB / 419.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.1141, allocations: 43.58 kB / 419.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1143, allocations: 91.14 kB / 419.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.1147, allocations: 119.7 kB / 419.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.1151, allocations: 374.6 kB / 419.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.1153, allocations: 92.67 kB / 420 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.1156, allocations: 155.4 kB / 420.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1159, allocations: 171.3 kB / 420.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.1159, allocations: 36 kB / 420.4 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.1161, allocations: 36 kB / 420.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.1161, allocations: 71.73 kB / 420.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.1163, allocations: 155.2 kB / 420.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.1168, allocations: 378.5 kB / 421 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1168, allocations: 4 kB / 421 MB, free: 8.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1168, allocations: 3.938 kB / 421 MB, free: 8.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1168, allocations: 0 / 421 MB, free: 8.363 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.001664/0.1185, allocations: 0.6918 MB / 421.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1185, allocations: 8.031 kB / 421.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.124e-05/0.1186, allocations: 54.73 kB / 421.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.1188, allocations: 40.73 kB / 421.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.1192, allocations: 278.9 kB / 422.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.1192, allocations: 16.81 kB / 422.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.1193, allocations: 24.33 kB / 422.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007815/0.1201, allocations: 313.8 kB / 422.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1201, allocations: 0 / 422.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.1201, allocations: 12 kB / 422.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1201, allocations: 4 kB / 422.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009695/0.1211, allocations: 297.5 kB / 422.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.123, allocations: 0.9611 MB / 423.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.1259, allocations: 0.506 MB / 424.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/0.1265, allocations: 212.6 kB / 424.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.1266, allocations: 4 kB / 424.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006461/0.1272, allocations: 244.2 kB / 424.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 4.178e-06/0.1273, allocations: 0 / 424.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001586/0.1288, allocations: 477.6 kB / 425.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.1289, allocations: 110.8 kB / 425.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1292, allocations: 233 kB / 425.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.1292, allocations: 33.7 kB / 425.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1294, allocations: 160.3 kB / 425.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.1295, allocations: 83.3 kB / 425.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.1296, allocations: 45.94 kB / 425.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1297, allocations: 338.8 kB / 426.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.1302, allocations: 144.3 kB / 426.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.1308, allocations: 176.2 kB / 426.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009603/0.1317, allocations: 323.9 kB / 426.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1317, allocations: 0 / 426.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001168/0.1329, allocations: 418.9 kB / 427.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.133, allocations: 32.05 kB / 427.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.133, allocations: 4 kB / 427.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.133, allocations: 0 / 427.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.1348, allocations: 267.7 kB / 427.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004924/0.1397, allocations: 3.435 MB / 430.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.1401, allocations: 59.95 kB / 430.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.1402, allocations: 8 kB / 430.9 MB, free: 13.85 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.0001923/0.1404, allocations: 146.8 kB / 431.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.1404, allocations: 23.86 kB / 431.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.1405, allocations: 30.17 kB / 431.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1405, allocations: 4 kB / 431.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1405, allocations: 4 kB / 431.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1405, allocations: 3.984 kB / 431.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.1424, allocations: 0.9145 MB / 432 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1424, allocations: 3.938 kB / 432 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.1441, allocations: 259.7 kB / 432.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1441, allocations: 0 / 432.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.1441, allocations: 8 kB / 432.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004961/0.1491, allocations: 3.447 MB / 435.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1491, allocations: 0 / 435.7 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.1508, allocations: 0.6101 MB / 436.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-05/0.1509, allocations: 96.91 kB / 436.4 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.1509, allocations: 8 kB / 436.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.1513, allocations: 48 kB / 436.5 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.1514, allocations: 23.97 kB / 436.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1514, allocations: 4 kB / 436.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1516, allocations: 172.5 kB / 436.7 MB, free: 7.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1516, allocations: 0 / 436.7 MB, free: 7.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004842/0.1521, allocations: 83.89 kB / 436.8 MB, free: 7.59 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.002002/0.1541, allocations: 1.164 MB / 437.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.1567, allocations: 0.573 MB / 438.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1567, allocations: 4 kB / 438.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.1587, allocations: 379.8 kB / 438.9 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.1592, allocations: 47.03 kB / 438.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/0.1655, allocations: 3.168 MB / 442.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.166, allocations: 0.7596 MB / 442.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.1661, allocations: 21.95 kB / 442.9 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.1663, allocations: 83.41 kB / 443 MB, free: 1.223 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1663, allocations: 4 kB / 443 MB, free: 1.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/0.381, allocations: 6.467 MB / 449.4 MB, free: 29.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.85, allocations: 8.594 kB / 449.4 MB, free: 29.98 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.328446432948112] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 11.940456801909022 11.954782331 11.835525471 Calling exit ...