Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001284/0.001284, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.00132/0.00132, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 230.4 MB / 254.7 MB, free: 15.01 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-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 76.05 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.31 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004079/0.1093, allocations: 2.79 MB / 429.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1106, allocations: 0.7479 MB / 430.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1107, allocations: 11.88 kB / 430.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.1109, allocations: 39.58 kB / 430.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.111, allocations: 83.27 kB / 430.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.1114, allocations: 127.7 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.1118, allocations: 382.6 kB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.112, allocations: 60.69 kB / 431.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.1122, allocations: 155.4 kB / 431.3 MB, free: 452 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.1125, allocations: 175.3 kB / 431.4 MB, free: 276 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.1125, allocations: 32 kB / 431.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.227e-05/0.1126, allocations: 39.98 kB / 431.5 MB, free: 204 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.1127, allocations: 75.69 kB / 431.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1946/0.3073, allocations: 156.8 kB / 431.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.3079, allocations: 373 kB / 432.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3079, allocations: 0 / 432.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3079, allocations: 0.5938 kB / 432.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.3079, allocations: 0 / 432.1 MB, free: 8.027 MB / 350.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.001512/0.3095, allocations: 0.6857 MB / 432.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3095, allocations: 9.531 kB / 432.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.3096, allocations: 52.31 kB / 432.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.3097, allocations: 44.22 kB / 432.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.3101, allocations: 280.9 kB / 433.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.3101, allocations: 18.41 kB / 433.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.3101, allocations: 23.45 kB / 433.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.3109, allocations: 317.2 kB / 433.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3109, allocations: 0 / 433.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.3109, allocations: 10.75 kB / 433.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3109, allocations: 4.469 kB / 433.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.3118, allocations: 298.7 kB / 433.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.3133, allocations: 0.9594 MB / 434.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.3163, allocations: 496.7 kB / 435.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.3169, allocations: 204 kB / 435.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3169, allocations: 3 kB / 435.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006167/0.3175, allocations: 248.6 kB / 435.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.3175, allocations: 1.062 kB / 435.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001515/0.319, allocations: 473.4 kB / 436.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3191, allocations: 106.8 kB / 436.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.3193, allocations: 239.8 kB / 436.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.3194, allocations: 29.77 kB / 436.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.3195, allocations: 169.1 kB / 436.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.3195, allocations: 71.69 kB / 436.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3196, allocations: 49.03 kB / 436.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.3197, allocations: 333.8 kB / 437.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.3202, allocations: 145.3 kB / 437.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.3206, allocations: 176.5 kB / 437.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.3215, allocations: 314.9 kB / 437.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3215, allocations: 6.844 kB / 437.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001067/0.3226, allocations: 410.2 kB / 438.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.3226, allocations: 44.14 kB / 438.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3226, allocations: 1.031 kB / 438.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3226, allocations: 2.703 kB / 438.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.3245, allocations: 270.3 kB / 438.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004297/0.3288, allocations: 3.435 MB / 441.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.3293, allocations: 55.97 kB / 442 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.3293, allocations: 8.766 kB / 442 MB, free: 2.609 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.0001792/0.3295, allocations: 145.3 kB / 442.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.3295, allocations: 24.64 kB / 442.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.3296, allocations: 32.86 kB / 442.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3296, allocations: 6.219 kB / 442.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3296, allocations: 1.844 kB / 442.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3296, allocations: 1.406 kB / 442.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.3313, allocations: 0.9028 MB / 443.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3313, allocations: 1.125 kB / 443.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/0.3332, allocations: 258.5 kB / 443.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3332, allocations: 1.875 kB / 443.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.3332, allocations: 15.97 kB / 443.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004785/0.338, allocations: 3.442 MB / 446.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.338, allocations: 1.219 kB / 446.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.3398, allocations: 0.6105 MB / 447.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3399, allocations: 100.9 kB / 447.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.34, allocations: 11.98 kB / 447.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.3404, allocations: 41.25 kB / 447.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3405, allocations: 26.67 kB / 447.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3405, allocations: 6.812 kB / 447.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.3407, allocations: 179.8 kB / 447.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3407, allocations: 0 / 447.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005474/0.3412, allocations: 83.08 kB / 447.9 MB, free: 14.35 MB / 366.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.002088/0.3433, allocations: 1.158 MB / 449 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.346, allocations: 0.5617 MB / 449.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.346, allocations: 0 / 449.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.3481, allocations: 385.2 kB / 450 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.3486, allocations: 40.77 kB / 450 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00622/0.3549, allocations: 3.172 MB / 453.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3553, allocations: 0.7555 MB / 453.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.3554, allocations: 24.5 kB / 453.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3556, allocations: 79.61 kB / 454 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3556, allocations: 0 / 454 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.3894, allocations: 6.514 MB / 460.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.02, allocations: 16.17 kB / 460.6 MB, free: 8.465 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.34096600394696] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.118350429926068 12.132408588 11.821625588 Calling exit ...