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.001244/0.001244, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.002155/0.002155, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2723, allocations: 53.37 MB / 431.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004185/0.2765, allocations: 2.589 MB / 434.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2779, allocations: 0.7128 MB / 435.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.278, allocations: 7.938 kB / 435.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.2782, allocations: 39.58 kB / 435.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.2783, allocations: 91.27 kB / 435.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.2787, allocations: 115.7 kB / 435.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.2792, allocations: 382.6 kB / 435.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.2794, allocations: 56.89 kB / 435.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.2797, allocations: 171.4 kB / 436 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.2799, allocations: 171.3 kB / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.2799, allocations: 32 kB / 436.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.28, allocations: 40 kB / 436.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.2801, allocations: 83.61 kB / 436.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2803, allocations: 127.4 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.2807, allocations: 378.5 kB / 436.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2807, allocations: 4 kB / 436.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2807, allocations: 4 kB / 436.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2807, allocations: 0 / 436.8 MB, free: 1.629 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.001537/0.2823, allocations: 0.6126 MB / 437.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2823, allocations: 12.03 kB / 437.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.2823, allocations: 4.625 kB / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.2824, allocations: 50.73 kB / 437.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.2826, allocations: 44.73 kB / 437.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.283, allocations: 221 kB / 437.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.283, allocations: 16.81 kB / 437.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.283, allocations: 20.38 kB / 437.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.2838, allocations: 335.4 kB / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2838, allocations: 0 / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.2839, allocations: 15.98 kB / 438.2 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2839, allocations: 4 kB / 438.2 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009639/0.2848, allocations: 301.5 kB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2866, allocations: 0.8626 MB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.2895, allocations: 494.2 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.2902, allocations: 200.1 kB / 440 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.2902, allocations: 7.984 kB / 440 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006681/0.2909, allocations: 263.4 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.2909, allocations: 4 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001529/0.2924, allocations: 479.8 kB / 440.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.2925, allocations: 106.8 kB / 440.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.2927, allocations: 237 kB / 441.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.2928, allocations: 33.7 kB / 441.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2929, allocations: 160.5 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.293, allocations: 75.31 kB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2931, allocations: 49.92 kB / 441.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2932, allocations: 338.8 kB / 441.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.2938, allocations: 166.1 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.2943, allocations: 239.6 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/0.2952, allocations: 320 kB / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2952, allocations: 0 / 442.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001132/0.2964, allocations: 448.6 kB / 442.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.2964, allocations: 37.7 kB / 442.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2964, allocations: 3.938 kB / 442.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2964, allocations: 4 kB / 442.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.2983, allocations: 271.6 kB / 443.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.3032, allocations: 3.22 MB / 446.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.3037, allocations: 51.88 kB / 446.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3037, allocations: 15.98 kB / 446.5 MB, free: 7.473 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.0001903/0.3039, allocations: 137.8 kB / 446.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.3039, allocations: 27.84 kB / 446.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.304, allocations: 34.2 kB / 446.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.304, allocations: 4 kB / 446.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.304, allocations: 0 / 446.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.304, allocations: 3.938 kB / 446.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.3058, allocations: 0.8366 MB / 447.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3058, allocations: 0 / 447.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.3076, allocations: 259.6 kB / 447.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3076, allocations: 0 / 447.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.3076, allocations: 11.98 kB / 447.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004859/0.3125, allocations: 3.22 MB / 451 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3125, allocations: 4.031 kB / 451 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.314, allocations: 0.613 MB / 451.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.3141, allocations: 27.81 kB / 451.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.3141, allocations: 4 kB / 451.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.3145, allocations: 39.95 kB / 451.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.3146, allocations: 27.95 kB / 451.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.3146, allocations: 11.98 kB / 451.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.3148, allocations: 172.5 kB / 451.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3148, allocations: 0 / 451.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000485/0.3153, allocations: 83.88 kB / 452 MB, free: 1.656 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.001861/0.3171, allocations: 1.163 MB / 453.1 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.3198, allocations: 0.5906 MB / 453.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3198, allocations: 3.938 kB / 453.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.3218, allocations: 379.8 kB / 454.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.3223, allocations: 44.34 kB / 454.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005962/0.3282, allocations: 3.296 MB / 457.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.3284, allocations: 154.1 kB / 457.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.3285, allocations: 17.95 kB / 457.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3287, allocations: 83.41 kB / 457.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.051e-06/0.3287, allocations: 0 / 457.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.3602, allocations: 7.012 MB / 464.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.07, allocations: 7.812 kB / 464.7 MB, free: 4.922 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.481124734971672] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 13.267964481958188 13.297388719 13.011485811 Calling exit ...