Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001662/0.001662, allocations: 106.4 kB / 21.22 MB, free: 0.6758 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.001942/0.001942, allocations: 209.9 kB / 24.53 MB, free: 4.035 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",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.001979/0.001979, allocations: 64.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2783, allocations: 53.36 MB / 431.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005652/0.284, allocations: 4.037 MB / 436 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.2872, allocations: 1.636 MB / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.2876, allocations: 15.88 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.2885, allocations: 250.8 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008801/0.2893, allocations: 310.1 kB / 438.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.2901, allocations: 267.3 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009417/0.291, allocations: 0.7318 MB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.2913, allocations: 118.5 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.2917, allocations: 287 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000417/0.2922, allocations: 310.7 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.241e-05/0.2922, allocations: 55.94 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.2925, allocations: 115.9 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.2927, allocations: 139.5 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.293, allocations: 302.4 kB / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008788/0.2939, allocations: 0.7274 MB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2939, allocations: 4 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2939, allocations: 0 / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2939, allocations: 0 / 441.2 MB, free: 13.88 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001702/0.2956, allocations: 0.881 MB / 442.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2956, allocations: 11.97 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.2958, allocations: 82.7 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.296, allocations: 88.39 kB / 442.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.2966, allocations: 361.3 kB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.2967, allocations: 29.38 kB / 442.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.2967, allocations: 47.92 kB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.2975, allocations: 437.5 kB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2975, allocations: 4 kB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.2976, allocations: 16 kB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2976, allocations: 12 kB / 443.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.2983, allocations: 315.7 kB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.3009, allocations: 1.657 MB / 445.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.3016, allocations: 327.1 kB / 445.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.302, allocations: 152.8 kB / 445.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.302, allocations: 11.92 kB / 445.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.3025, allocations: 266.4 kB / 445.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.493e-06/0.3025, allocations: 0 / 445.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002108/0.3046, allocations: 0.7003 MB / 446.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.3047, allocations: 195.8 kB / 446.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.3054, allocations: 0.498 MB / 447.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.3054, allocations: 37.7 kB / 447.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.3057, allocations: 260.7 kB / 447.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3058, allocations: 131 kB / 447.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3059, allocations: 78.12 kB / 447.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3061, allocations: 354.8 kB / 448.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.3064, allocations: 124.8 kB / 448.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.3067, allocations: 217.2 kB / 448.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.3073, allocations: 273.1 kB / 448.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3073, allocations: 4 kB / 448.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008672/0.3081, allocations: 473 kB / 449.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3081, allocations: 7.938 kB / 449.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3082, allocations: 3.984 kB / 449.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.3087, allocations: 171.4 kB / 449.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3089, allocations: 47.84 kB / 449.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.3146, allocations: 6.241 MB / 455.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.315, allocations: 47.77 kB / 455.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.3151, allocations: 12 kB / 455.7 MB, free: 14.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003037/0.3154, allocations: 197.1 kB / 455.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3155, allocations: 59.61 kB / 455.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.3166, allocations: 0.4895 MB / 456.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3166, allocations: 8 kB / 456.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3166, allocations: 3.938 kB / 456.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3166, allocations: 3.984 kB / 456.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006222/0.3172, allocations: 476.1 kB / 456.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3172, allocations: 0 / 456.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3174, allocations: 27.92 kB / 456.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.3178, allocations: 163.4 kB / 457.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.3179, allocations: 8 kB / 457.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.3232, allocations: 5.943 MB / 463 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3232, allocations: 0 / 463 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3243, allocations: 0.4957 MB / 463.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.3245, allocations: 87.56 kB / 463.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.3246, allocations: 11.98 kB / 463.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.3249, allocations: 27.98 kB / 463.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.325, allocations: 55.89 kB / 463.7 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.3251, allocations: 8 kB / 463.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004708/0.3255, allocations: 371 kB / 464.1 MB, free: 5.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3255, allocations: 4 kB / 464.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008115/0.3263, allocations: 179.7 kB / 464.2 MB, free: 5.398 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002808/0.3291, allocations: 1.381 MB / 465.6 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3304, allocations: 0.7796 MB / 466.4 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3304, allocations: 3.938 kB / 466.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.3312, allocations: 0.6274 MB / 467 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.3318, allocations: 118 kB / 467.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/0.3383, allocations: 4.295 MB / 471.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.3389, allocations: 0.8671 MB / 472.3 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000217/0.3391, allocations: 48.16 kB / 472.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.3393, allocations: 175.4 kB / 472.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3393, allocations: 0 / 472.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/0.4022, allocations: 14.98 MB / 487.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.19, allocations: 1.688 kB / 487.5 MB, free: 14.16 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.676926029846072] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.357128382660449 13.373860837 13.076461593 Calling exit ...