Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001268/0.001268, allocations: 99.62 kB / 21.95 MB, free: 5.219 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.001312/0.001312, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 59.92 kB / 348 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2292, allocations: 49.15 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003672/0.2329, allocations: 2.511 MB / 399.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.234, allocations: 0.7094 MB / 400.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2341, allocations: 2.469 kB / 400.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.2343, allocations: 44.55 kB / 400.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.2345, allocations: 86 kB / 400.5 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.2348, allocations: 113.6 kB / 400.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.2352, allocations: 377.2 kB / 401 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.2354, allocations: 64.59 kB / 401 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.2356, allocations: 161.9 kB / 401.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.2359, allocations: 166.5 kB / 401.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.2359, allocations: 32.09 kB / 401.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.95e-05/0.236, allocations: 33.75 kB / 401.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.2361, allocations: 69.33 kB / 401.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2362, allocations: 135 kB / 401.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.2366, allocations: 367.1 kB / 402 MB, free: 5.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2366, allocations: 0 / 402 MB, free: 5.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2366, allocations: 1.219 kB / 402 MB, free: 5.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2366, allocations: 0 / 402 MB, free: 5.91 MB / 318.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.001403/0.238, allocations: 0.603 MB / 402.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.238, allocations: 13.92 kB / 402.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.098e-05/0.2381, allocations: 16.98 kB / 402.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.2381, allocations: 54.48 kB / 402.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/0.2382, allocations: 33.77 kB / 402.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.2385, allocations: 214.7 kB / 402.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.2385, allocations: 17.45 kB / 402.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.2386, allocations: 26 kB / 402.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.2393, allocations: 332.4 kB / 403.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2393, allocations: 9.094 kB / 403.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.2394, allocations: 9.953 kB / 403.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2394, allocations: 4.094 kB / 403.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008364/0.2402, allocations: 286.9 kB / 403.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.2417, allocations: 0.8624 MB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.2446, allocations: 485.5 kB / 404.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/0.2452, allocations: 199.9 kB / 405.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2453, allocations: 7.516 kB / 405.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/0.2459, allocations: 264.5 kB / 405.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.2459, allocations: 0 / 405.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00144/0.2473, allocations: 465.9 kB / 405.8 MB, free: 3.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2473, allocations: 106.8 kB / 405.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2475, allocations: 230.6 kB / 406.2 MB, free: 3.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.2476, allocations: 32.92 kB / 406.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.2476, allocations: 157.9 kB / 406.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.2477, allocations: 78.72 kB / 406.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.2478, allocations: 47.41 kB / 406.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.2478, allocations: 333.6 kB / 406.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.2483, allocations: 170.3 kB / 407 MB, free: 2.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.2487, allocations: 232.8 kB / 407.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.2495, allocations: 317.8 kB / 407.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2495, allocations: 0 / 407.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001015/0.2505, allocations: 440.8 kB / 407.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.2505, allocations: 38.11 kB / 408 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2506, allocations: 1.375 kB / 408 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2506, allocations: 1.031 kB / 408 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.2523, allocations: 236.7 kB / 408.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.2563, allocations: 3.177 MB / 411.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.2567, allocations: 57.69 kB / 411.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.2567, allocations: 11.53 kB / 411.4 MB, free: 15.51 MB / 334.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.0001931/0.2569, allocations: 143.7 kB / 411.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.257, allocations: 23.47 kB / 411.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.2571, allocations: 27.03 kB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2571, allocations: 2.938 kB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2571, allocations: 0.75 kB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2571, allocations: 9.906 kB / 411.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.2588, allocations: 0.8292 MB / 412.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2588, allocations: 0 / 412.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.2605, allocations: 231.2 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.2605, allocations: 1.156 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.2605, allocations: 6.859 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004767/0.2653, allocations: 3.193 MB / 415.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2653, allocations: 0 / 415.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.2669, allocations: 0.604 MB / 416.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.267, allocations: 27.73 kB / 416.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.2671, allocations: 6.562 kB / 416.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.2674, allocations: 42.86 kB / 416.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2676, allocations: 34.7 kB / 416.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.2676, allocations: 8.672 kB / 416.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.2678, allocations: 167 kB / 416.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2678, allocations: 0 / 416.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000537/0.2683, allocations: 78.95 kB / 416.9 MB, free: 11.05 MB / 334.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.00189/0.2702, allocations: 1.15 MB / 418 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.2728, allocations: 0.5553 MB / 418.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2728, allocations: 0 / 418.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.2749, allocations: 352.5 kB / 418.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.2753, allocations: 43.2 kB / 418.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005776/0.2811, allocations: 3.246 MB / 422.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.2812, allocations: 140.8 kB / 422.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.2814, allocations: 25.31 kB / 422.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.2815, allocations: 80.12 kB / 422.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2815, allocations: 0 / 422.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.3121, allocations: 6.9 MB / 429.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.93, allocations: 23.88 kB / 429.4 MB, free: 1.793 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.118000621907413] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 13.094292173045687 13.109385095 12.869592295 Calling exit ...