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.001481/0.001481, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001794/0.001794, allocations: 215.4 kB / 24.48 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 2.199/2.199, allocations: 230.6 MB / 258.2 MB, free: 7.742 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: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 43.94 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3576, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004226/0.3618, allocations: 2.595 MB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3636, allocations: 0.7167 MB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.3638, allocations: 4 kB / 435.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.364, allocations: 43.58 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.3642, allocations: 91.19 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.3647, allocations: 123.7 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.3653, allocations: 378.6 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.3655, allocations: 64.55 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.3659, allocations: 163.4 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3662, allocations: 171.3 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.968e-05/0.3663, allocations: 32 kB / 436.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3664, allocations: 44 kB / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-05/0.3665, allocations: 75.73 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3667, allocations: 131.4 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.3672, allocations: 377.5 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3672, allocations: 3.984 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3672, allocations: 0 / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3673, allocations: 0 / 437.3 MB, free: 1.695 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.002089/0.3693, allocations: 0.6087 MB / 437.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3694, allocations: 8.031 kB / 437.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.3696, allocations: 44.73 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.3701, allocations: 225 kB / 438.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.3702, allocations: 12.81 kB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.3702, allocations: 20.38 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3713, allocations: 347.7 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3713, allocations: 0 / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.3713, allocations: 8 kB / 438.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3713, allocations: 4 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.3725, allocations: 301.5 kB / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.3747, allocations: 0.8202 MB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.3789, allocations: 498.1 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009116/0.3799, allocations: 199.3 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.3799, allocations: 4 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/0.3809, allocations: 263.5 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.18e-05/0.3809, allocations: 0 / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.002169/0.3831, allocations: 481.5 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.3831, allocations: 106.8 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.3835, allocations: 233 kB / 441.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.3836, allocations: 25.7 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3837, allocations: 172.3 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3838, allocations: 83.31 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.384, allocations: 49.88 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3842, allocations: 330.8 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.3849, allocations: 170.1 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008171/0.3857, allocations: 239.6 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3871, allocations: 316.1 kB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.3871, allocations: 0 / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001699/0.3888, allocations: 448.5 kB / 443.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.3889, allocations: 29.7 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3889, allocations: 3.938 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3889, allocations: 4 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/0.3917, allocations: 271.7 kB / 443.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007607/0.3993, allocations: 3.186 MB / 446.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/0.3999, allocations: 52.06 kB / 446.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.4, allocations: 11.98 kB / 446.8 MB, free: 7.734 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.0002691/0.4002, allocations: 141.8 kB / 446.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.4003, allocations: 27.8 kB / 446.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-05/0.4004, allocations: 30.11 kB / 447 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4004, allocations: 4 kB / 447 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4004, allocations: 0 / 447 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4004, allocations: 0 / 447 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.4031, allocations: 0.8059 MB / 447.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4031, allocations: 0 / 447.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003038/0.4062, allocations: 267.7 kB / 448 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.4062, allocations: 0 / 448 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.4062, allocations: 8 kB / 448.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007235/0.4134, allocations: 3.175 MB / 451.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4134, allocations: 0 / 451.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.4158, allocations: 0.6129 MB / 451.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.4159, allocations: 23.84 kB / 451.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.4159, allocations: 11.94 kB / 451.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005544/0.4165, allocations: 48.02 kB / 451.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4166, allocations: 23.95 kB / 451.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.4166, allocations: 8 kB / 452 MB, free: 2.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.4169, allocations: 168.5 kB / 452.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4169, allocations: 0 / 452.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008745/0.4177, allocations: 87.83 kB / 452.2 MB, free: 2.027 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.0001878/0.4179, allocations: 115.2 kB / 452.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.4219, allocations: 0.5747 MB / 452.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4219, allocations: 0 / 452.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003207/0.4251, allocations: 383.7 kB / 453.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.4258, allocations: 36.36 kB / 453.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.4285, allocations: 0.7039 MB / 454 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.4287, allocations: 146.2 kB / 454.1 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002252/0.4289, allocations: 21.95 kB / 454.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.429, allocations: 19.44 kB / 454.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.429, allocations: 0 / 454.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01353/0.4426, allocations: 4.335 MB / 458.5 MB, free: 11.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.442131632997189] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 0.4678932209935738 0.47761557400000004 0.10565682200000001 Calling exit ...