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.000843/0.000843, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009994/0.0009994, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8815/0.8815, allocations: 177.1 MB / 204.2 MB, free: 5.742 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.443e-06/1.443e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.958e-05, allocations: 4.531 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002686/0.002706, allocations: 2.603 MB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.00364, allocations: 0.7166 MB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.003746, allocations: 4 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.003866, allocations: 39.58 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.003994, allocations: 99.14 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.0043, allocations: 119.6 kB / 328.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.004596, allocations: 398.3 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.004731, allocations: 48.91 kB / 328.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.005065, allocations: 231.5 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.005195, allocations: 131.6 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.005232, allocations: 32 kB / 329 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.843e-05/0.005291, allocations: 39.98 kB / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.005334, allocations: 71.75 kB / 329.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.005417, allocations: 111.7 kB / 329.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.006005, allocations: 398.8 kB / 329.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.006008, allocations: 0 / 329.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.006009, allocations: 0 / 329.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.006013, allocations: 0 / 329.6 MB, free: 10.9 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.000986/0.006999, allocations: 0.6158 MB / 330.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.007037, allocations: 8.031 kB / 330.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.007082, allocations: 54.73 kB / 330.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.007244, allocations: 44.67 kB / 330.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.007523, allocations: 220.7 kB / 330.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.007541, allocations: 12.88 kB / 330.5 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.007576, allocations: 28.36 kB / 330.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.008041, allocations: 336.9 kB / 330.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.00805, allocations: 192 / 330.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.008071, allocations: 12.12 kB / 330.9 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.008077, allocations: 4 kB / 330.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005013/0.008578, allocations: 309.7 kB / 331.2 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.009683, allocations: 0.8631 MB / 332.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.01102, allocations: 494.2 kB / 332.6 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/0.01138, allocations: 200.7 kB / 332.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.01141, allocations: 8 kB / 332.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.01178, allocations: 259.4 kB / 333 MB, free: 7.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.01178, allocations: 0 / 333 MB, free: 7.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008484/0.01263, allocations: 485.4 kB / 333.5 MB, free: 6.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.01268, allocations: 106.8 kB / 333.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.01285, allocations: 241.9 kB / 333.8 MB, free: 6.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01287, allocations: 33.7 kB / 333.9 MB, free: 6.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.01294, allocations: 160.4 kB / 334 MB, free: 6.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.01299, allocations: 75.38 kB / 334.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.01306, allocations: 49.94 kB / 334.1 MB, free: 6.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.01313, allocations: 330.8 kB / 334.5 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.01339, allocations: 174 kB / 334.6 MB, free: 5.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.01366, allocations: 228.6 kB / 334.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.01413, allocations: 328.7 kB / 335.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01413, allocations: 0 / 335.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006548/0.01479, allocations: 440.6 kB / 335.6 MB, free: 4.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.01482, allocations: 29.7 kB / 335.6 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01482, allocations: 4.062 kB / 335.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.01484, allocations: 7.938 kB / 335.6 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.0156, allocations: 267.6 kB / 335.9 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.01812, allocations: 3.228 MB / 339.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.0183, allocations: 55.84 kB / 339.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.01832, allocations: 8 kB / 339.2 MB, free: 0.7422 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.0001034/0.01843, allocations: 136.8 kB / 339.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.01845, allocations: 35.69 kB / 339.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.01848, allocations: 34.11 kB / 339.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01849, allocations: 4 kB / 339.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01849, allocations: 0 / 339.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01849, allocations: 7.984 kB / 339.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009794/0.01947, allocations: 0.8287 MB / 340.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01947, allocations: 0 / 340.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/0.02031, allocations: 267.7 kB / 340.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.02031, allocations: 0 / 340.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.02033, allocations: 4 kB / 340.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.02268, allocations: 3.232 MB / 343.7 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.02268, allocations: 8.156 kB / 343.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.02349, allocations: 0.5955 MB / 344.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.02351, allocations: 31.89 kB / 344.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.02354, allocations: 0 / 344.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.0237, allocations: 51.88 kB / 344.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.02377, allocations: 27.95 kB / 344.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.02378, allocations: 4 kB / 344.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.02388, allocations: 173.2 kB / 344.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02388, allocations: 7.938 kB / 344.6 MB, free: 11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.0242, allocations: 83.89 kB / 344.7 MB, free: 10.92 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.001004/0.0252, allocations: 1.151 MB / 345.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.02642, allocations: 0.5864 MB / 346.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.02642, allocations: 128 / 346.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008892/0.02731, allocations: 379.7 kB / 346.8 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.02758, allocations: 40.41 kB / 346.9 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.03079, allocations: 3.248 MB / 350.1 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.874e-05/0.03087, allocations: 142.2 kB / 350.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.055e-05/0.03095, allocations: 21.95 kB / 350.3 MB, free: 5.152 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.03105, allocations: 88.45 kB / 350.4 MB, free: 5.066 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03105, allocations: 0 / 350.4 MB, free: 5.066 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.04897, allocations: 7.497 MB / 357.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/7.71, allocations: 5.812 kB / 357.9 MB, free: 13.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 9.311652995646] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 7.80122126173228 7.813024565 7.805118863 Calling exit ...