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.001259/0.001259, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001371/0.001371, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001912/0.001912, allocations: 60.77 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2718, allocations: 53.38 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004149/0.276, allocations: 2.801 MB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2774, allocations: 0.7557 MB / 435.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2776, allocations: 4 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.2777, allocations: 39.58 kB / 435.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.2779, allocations: 91.19 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.2783, allocations: 115.7 kB / 435.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.2788, allocations: 394.5 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.279, allocations: 52.91 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.2793, allocations: 167.4 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.2795, allocations: 175.3 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.2796, allocations: 36 kB / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.2797, allocations: 36 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.2798, allocations: 67.81 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.2799, allocations: 155.2 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.2804, allocations: 383.4 kB / 437.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2804, allocations: 0 / 437.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2804, allocations: 4 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.2804, allocations: 0 / 437.2 MB, free: 1.633 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.00163/0.282, allocations: 0.611 MB / 437.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2821, allocations: 8.031 kB / 437.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.059e-05/0.2822, allocations: 58.73 kB / 437.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.2823, allocations: 40.73 kB / 437.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.2828, allocations: 213.1 kB / 438.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.2828, allocations: 20.81 kB / 438.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.2828, allocations: 24.33 kB / 438.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.2836, allocations: 313.8 kB / 438.4 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2836, allocations: 4 kB / 438.4 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.2836, allocations: 8 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2837, allocations: 4 kB / 438.5 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.2846, allocations: 297.6 kB / 438.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.2864, allocations: 0.9326 MB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.2894, allocations: 0.4903 MB / 440.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.2901, allocations: 204.7 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.2901, allocations: 0 / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/0.2908, allocations: 247.5 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.2908, allocations: 0 / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001554/0.2923, allocations: 465.7 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.2924, allocations: 118.7 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.2927, allocations: 237 kB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.2927, allocations: 33.7 kB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2928, allocations: 156.5 kB / 441.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.2929, allocations: 75.31 kB / 441.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.293, allocations: 49.94 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2932, allocations: 338.8 kB / 442.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.2936, allocations: 136.4 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.2941, allocations: 184.2 kB / 442.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009099/0.295, allocations: 320.1 kB / 442.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.295, allocations: 0 / 442.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001084/0.2961, allocations: 414.8 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.2962, allocations: 44.58 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2962, allocations: 3.938 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2962, allocations: 0 / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.298, allocations: 263.6 kB / 443.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005321/0.3033, allocations: 3.248 MB / 446.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.3038, allocations: 47.84 kB / 446.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.3038, allocations: 15.98 kB / 446.7 MB, free: 7.602 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.0002188/0.304, allocations: 145.8 kB / 446.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.3041, allocations: 23.86 kB / 446.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.693e-05/0.3042, allocations: 34.11 kB / 446.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3042, allocations: 0 / 446.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3042, allocations: 0 / 446.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3042, allocations: 4 kB / 446.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.306, allocations: 0.8792 MB / 447.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.306, allocations: 0 / 447.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/0.3078, allocations: 259.7 kB / 448 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3078, allocations: 0 / 448 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3079, allocations: 11.98 kB / 448 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.3128, allocations: 3.236 MB / 451.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3128, allocations: 4.062 kB / 451.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.3145, allocations: 0.61 MB / 451.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.3146, allocations: 23.83 kB / 451.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.3146, allocations: 7.984 kB / 451.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.315, allocations: 44.02 kB / 452 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.3151, allocations: 31.89 kB / 452 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.3151, allocations: 8 kB / 452 MB, free: 1.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.3153, allocations: 172.5 kB / 452.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3153, allocations: 0 / 452.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005032/0.3158, allocations: 79.89 kB / 452.3 MB, free: 1.723 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.001892/0.3177, allocations: 1.162 MB / 453.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002687/0.3204, allocations: 0.5614 MB / 454 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3204, allocations: 3.938 kB / 454 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.3225, allocations: 375.8 kB / 454.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.323, allocations: 39.73 kB / 454.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006194/0.3292, allocations: 3.187 MB / 457.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3296, allocations: 0.7596 MB / 458.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.3298, allocations: 21.95 kB / 458.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.33, allocations: 79.41 kB / 458.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.33, allocations: 0 / 458.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.3661, allocations: 6.651 MB / 465.1 MB, free: 4.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.27, allocations: 3.562 kB / 465.1 MB, free: 4.875 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 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.557558426167816] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.368686866015196 12.385112617 12.101441306 Calling exit ...