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.001288/0.001288, 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.001382/0.001382, 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.503/1.503, allocations: 230.5 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.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.001897/0.001897, allocations: 71.83 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.113, allocations: 53.31 MB / 426.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005398/0.1184, allocations: 4.007 MB / 430.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2123/0.3307, allocations: 1.611 MB / 432.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.3311, allocations: 11.75 kB / 432.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.3318, allocations: 253 kB / 432.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006556/0.3325, allocations: 302.7 kB / 433.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.3331, allocations: 274.3 kB / 433.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.3338, allocations: 0.7202 MB / 434.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.334, allocations: 122.4 kB / 434.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.3344, allocations: 286.4 kB / 434.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.3346, allocations: 304.3 kB / 434.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-05/0.3347, allocations: 53.61 kB / 434.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.3349, allocations: 109.3 kB / 434.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.335, allocations: 143.6 kB / 435.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.3353, allocations: 308 kB / 435.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007701/0.3361, allocations: 0.7157 MB / 436.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3361, allocations: 0 / 436.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3361, allocations: 1.125 kB / 436.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.3361, allocations: 0 / 436.1 MB, free: 6.965 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.001891/0.338, allocations: 0.9723 MB / 437 MB, free: 6.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.338, allocations: 9.25 kB / 437 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.768e-05/0.3381, allocations: 76.56 kB / 437.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.3384, allocations: 83.77 kB / 437.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.3391, allocations: 425.7 kB / 437.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.3391, allocations: 33.09 kB / 437.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.3392, allocations: 42.53 kB / 437.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.34, allocations: 442.1 kB / 438.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.34, allocations: 1.656 kB / 438.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.3401, allocations: 20.67 kB / 438.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.3401, allocations: 9.688 kB / 438.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.3407, allocations: 310.1 kB / 438.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.3431, allocations: 1.709 MB / 440.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.3437, allocations: 327.6 kB / 440.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.344, allocations: 159.7 kB / 440.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.3441, allocations: 4.125 kB / 440.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004397/0.3445, allocations: 259.8 kB / 440.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/0.3445, allocations: 0 / 440.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002169/0.3467, allocations: 1.012 MB / 441.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.3468, allocations: 194.7 kB / 442.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000603/0.3474, allocations: 0.5051 MB / 442.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.3474, allocations: 36.8 kB / 442.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.3476, allocations: 263.9 kB / 442.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.3477, allocations: 131.6 kB / 443 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.3479, allocations: 77.28 kB / 443.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.348, allocations: 357.7 kB / 443.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.3483, allocations: 120.8 kB / 443.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.3486, allocations: 218.9 kB / 443.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.349, allocations: 269.2 kB / 444.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.349, allocations: 1.094 kB / 444.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007749/0.3498, allocations: 470.2 kB / 444.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.3498, allocations: 5.562 kB / 444.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3499, allocations: 1.875 kB / 444.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.3504, allocations: 166 kB / 444.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3506, allocations: 48.92 kB / 444.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.3564, allocations: 6.649 MB / 451.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/0.357, allocations: 52.2 kB / 451.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.3571, allocations: 15.17 kB / 451.4 MB, free: 11.26 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.000391/0.3575, allocations: 193.4 kB / 451.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3576, allocations: 60.97 kB / 451.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.3577, allocations: 58.33 kB / 451.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.3577, allocations: 9.109 kB / 451.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3577, allocations: 0 / 451.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3577, allocations: 2.891 kB / 451.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/0.3585, allocations: 495.5 kB / 452.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3585, allocations: 0.6562 kB / 452.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.3587, allocations: 24.91 kB / 452.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.3591, allocations: 165.8 kB / 452.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3591, allocations: 9.078 kB / 452.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005786/0.3649, allocations: 6.366 MB / 458.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3649, allocations: 0.9375 kB / 458.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.3662, allocations: 0.4981 MB / 459.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.3665, allocations: 165.3 kB / 459.5 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.3665, allocations: 11.41 kB / 459.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.3668, allocations: 25.62 kB / 459.5 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.367, allocations: 65.84 kB / 459.6 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.3671, allocations: 8.844 kB / 459.6 MB, free: 3.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006255/0.3677, allocations: 369.1 kB / 459.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3677, allocations: 0 / 459.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009266/0.3686, allocations: 169 kB / 460.1 MB, free: 3.785 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * 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.002779/0.3714, allocations: 1.378 MB / 461.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.3727, allocations: 0.7912 MB / 462.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3727, allocations: 1.312 kB / 462.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.3735, allocations: 0.6403 MB / 462.9 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.3741, allocations: 120.9 kB / 463 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.3813, allocations: 4.286 MB / 467.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.3819, allocations: 0.8672 MB / 468.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002743/0.3822, allocations: 55.62 kB / 468.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.3824, allocations: 170.4 kB / 468.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3824, allocations: 0 / 468.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07311/0.4555, allocations: 14.65 MB / 483.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.62, allocations: 10.64 kB / 483.1 MB, free: 6.414 MB / 382.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.152270152233541] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 12.775342720095068 12.80255135 12.461284753 Calling exit ...