Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001296/0.001296, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001528/0.001528, allocations: 213.5 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 59.89 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2692, allocations: 53.42 MB / 431.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004355/0.2736, allocations: 2.589 MB / 434.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2752, allocations: 0.7051 MB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.2753, allocations: 8 kB / 435.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.2755, allocations: 43.56 kB / 435.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.2757, allocations: 91.2 kB / 435.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.2761, allocations: 111.8 kB / 435.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.2765, allocations: 390.5 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.2767, allocations: 68.89 kB / 435.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.277, allocations: 159.5 kB / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.2773, allocations: 171.3 kB / 436.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.2773, allocations: 35.98 kB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.453e-05/0.2774, allocations: 36 kB / 436.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.2775, allocations: 71.75 kB / 436.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.2777, allocations: 131.4 kB / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.2782, allocations: 386.4 kB / 436.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2782, allocations: 4 kB / 436.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2782, allocations: 0 / 436.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2782, allocations: 4 kB / 436.9 MB, free: 1.488 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.001679/0.2799, allocations: 0.6086 MB / 437.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2799, allocations: 12.03 kB / 437.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.8e-05/0.2799, allocations: 4.625 kB / 437.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.28, allocations: 54.72 kB / 437.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.2802, allocations: 40.75 kB / 437.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.2806, allocations: 217 kB / 437.8 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.2806, allocations: 16.81 kB / 437.8 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.2807, allocations: 28.38 kB / 437.9 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.2815, allocations: 339.3 kB / 438.2 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2815, allocations: 0 / 438.2 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.2815, allocations: 8 kB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2815, allocations: 8 kB / 438.2 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.2825, allocations: 301.6 kB / 438.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.2843, allocations: 0.8548 MB / 439.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.2875, allocations: 494.1 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007184/0.2882, allocations: 215.4 kB / 440.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.2882, allocations: 4 kB / 440.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/0.2889, allocations: 266.8 kB / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.635e-06/0.2889, allocations: 0 / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00165/0.2906, allocations: 473.6 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.2907, allocations: 106.8 kB / 440.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.291, allocations: 237 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.291, allocations: 33.7 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2911, allocations: 160.5 kB / 441.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.2912, allocations: 75.33 kB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.2913, allocations: 49.92 kB / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2915, allocations: 334.8 kB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.292, allocations: 174 kB / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.2926, allocations: 243.6 kB / 442.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.2935, allocations: 320.7 kB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2935, allocations: 0 / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001174/0.2947, allocations: 444.6 kB / 442.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/0.2947, allocations: 33.7 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2947, allocations: 3.938 kB / 442.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2948, allocations: 4 kB / 442.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.2967, allocations: 267.7 kB / 443.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.3019, allocations: 3.22 MB / 446.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/0.3024, allocations: 51.88 kB / 446.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.3024, allocations: 15.97 kB / 446.5 MB, free: 7.34 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.0002093/0.3026, allocations: 145.8 kB / 446.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.3027, allocations: 23.86 kB / 446.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.3027, allocations: 30.11 kB / 446.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3028, allocations: 4 kB / 446.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.3028, allocations: 0 / 446.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3028, allocations: 4 kB / 446.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.3047, allocations: 0.8405 MB / 447.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3047, allocations: 4 kB / 447.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/0.3065, allocations: 267.6 kB / 447.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.3065, allocations: 4 kB / 447.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.3066, allocations: 4 kB / 447.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005142/0.3117, allocations: 3.22 MB / 451 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3117, allocations: 4.031 kB / 451 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.3134, allocations: 0.6092 MB / 451.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.3135, allocations: 27.83 kB / 451.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.3135, allocations: 4 kB / 451.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.3139, allocations: 35.95 kB / 451.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.314, allocations: 39.95 kB / 451.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.314, allocations: 7.984 kB / 451.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.3142, allocations: 172.5 kB / 451.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3142, allocations: 0 / 451.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005126/0.3147, allocations: 83.89 kB / 452 MB, free: 1.516 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.001925/0.3166, allocations: 1.155 MB / 453.2 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00279/0.3194, allocations: 0.5904 MB / 453.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.3194, allocations: 0 / 453.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.3216, allocations: 379.7 kB / 454.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.3221, allocations: 36.42 kB / 454.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.3282, allocations: 3.308 MB / 457.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3283, allocations: 146 kB / 457.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.3285, allocations: 25.95 kB / 457.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.3286, allocations: 83.41 kB / 457.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3286, allocations: 0 / 457.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3586, allocations: 7.022 MB / 464.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.06, allocations: 4.062 kB / 464.7 MB, free: 4.734 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.591742582037114] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 13.239300223998725 13.253850343 12.97254214 Calling exit ...