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.001691/0.001691, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002085/0.002085, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.816 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="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 0.001529/0.001529, allocations: 51.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2558, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004311/0.2601, allocations: 2.587 MB / 433.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2616, allocations: 0.709 MB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.2618, allocations: 11.88 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.2619, allocations: 51.56 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2621, allocations: 83.27 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.2625, allocations: 119.7 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.2629, allocations: 378.6 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.2631, allocations: 66.56 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.2634, allocations: 167.4 kB / 435.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.2637, allocations: 167.3 kB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.2637, allocations: 32 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.2638, allocations: 40 kB / 435.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.2639, allocations: 79.67 kB / 435.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2641, allocations: 127.4 kB / 435.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.2645, allocations: 386.4 kB / 436.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.2645, allocations: 4 kB / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2645, allocations: 0 / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2646, allocations: 0 / 436.1 MB, free: 1.66 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.001687/0.2662, allocations: 0.6087 MB / 436.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2663, allocations: 16.02 kB / 436.7 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7e-05/0.2664, allocations: 50.73 kB / 436.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.2665, allocations: 40.73 kB / 436.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.2669, allocations: 221 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.267, allocations: 16.75 kB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.267, allocations: 20.38 kB / 437 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.2678, allocations: 343.5 kB / 437.4 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2678, allocations: 0 / 437.4 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.2679, allocations: 12 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2679, allocations: 4 kB / 437.4 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009426/0.2688, allocations: 301.5 kB / 437.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.2705, allocations: 0.8549 MB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.2736, allocations: 498.1 kB / 439 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.2743, allocations: 204.7 kB / 439.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.2743, allocations: 3.984 kB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006688/0.275, allocations: 271.4 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.275, allocations: 0 / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001563/0.2766, allocations: 468.3 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.2767, allocations: 118.8 kB / 440.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.2769, allocations: 245 kB / 440.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.277, allocations: 29.7 kB / 440.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2771, allocations: 164.4 kB / 440.5 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.2772, allocations: 71.38 kB / 440.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2773, allocations: 45.94 kB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.2775, allocations: 334.8 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/0.278, allocations: 170.1 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.2785, allocations: 239.6 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.2794, allocations: 316.1 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2794, allocations: 0 / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00121/0.2806, allocations: 448.5 kB / 442.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.2807, allocations: 37.77 kB / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2807, allocations: 0 / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2807, allocations: 0 / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.2826, allocations: 271.6 kB / 442.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00509/0.2877, allocations: 3.22 MB / 445.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.2881, allocations: 55.86 kB / 445.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.2882, allocations: 11.88 kB / 445.7 MB, free: 7.52 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.0001929/0.2884, allocations: 145.7 kB / 445.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.2884, allocations: 27.81 kB / 445.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.2885, allocations: 30.11 kB / 445.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2885, allocations: 12.05 kB / 445.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.2885, allocations: 0 / 445.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2885, allocations: 3.984 kB / 445.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.2903, allocations: 0.8405 MB / 446.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2903, allocations: 0 / 446.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.2922, allocations: 255.7 kB / 447 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.2922, allocations: 4 kB / 447 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.2922, allocations: 4 kB / 447 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.2972, allocations: 3.228 MB / 450.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2972, allocations: 4.062 kB / 450.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.2987, allocations: 0.6062 MB / 450.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.2988, allocations: 27.77 kB / 450.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.2989, allocations: 8 kB / 450.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.2992, allocations: 43.94 kB / 450.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.2993, allocations: 23.95 kB / 450.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.2993, allocations: 8 kB / 450.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.2995, allocations: 172.5 kB / 451.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2995, allocations: 4.062 kB / 451.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.3, allocations: 79.95 kB / 451.2 MB, free: 1.688 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.001894/0.3019, allocations: 1.166 MB / 452.3 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002736/0.3046, allocations: 0.5903 MB / 452.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3046, allocations: 4.125 kB / 452.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002138/0.3067, allocations: 375.7 kB / 453.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3072, allocations: 36.41 kB / 453.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.313, allocations: 3.299 MB / 456.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3131, allocations: 146.1 kB / 456.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3133, allocations: 25.94 kB / 456.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3134, allocations: 87.39 kB / 456.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3134, allocations: 0 / 456.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.3506, allocations: 7.426 MB / 464.3 MB, free: 4.539 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.35, allocations: 7.5 kB / 464.3 MB, free: 4.535 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.687105048971716] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.465144412009977 12.489684064 12.221212275 Calling exit ...