Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001638/0.001638, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001467/0.001467, allocations: 213.2 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.5 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 60.14 kB / 378.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3668, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.007517/0.3744, allocations: 3.661 MB / 435.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004029/0.3784, allocations: 1.55 MB / 437.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006155/0.379, allocations: 11.94 kB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.3802, allocations: 262.7 kB / 437.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009123/0.3811, allocations: 306.2 kB / 437.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008381/0.3819, allocations: 263.4 kB / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3831, allocations: 0.7357 MB / 438.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.3834, allocations: 117.4 kB / 438.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.384, allocations: 295 kB / 439.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.3845, allocations: 306.7 kB / 439.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.3846, allocations: 52 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.3849, allocations: 111.9 kB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.3851, allocations: 155.4 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.3854, allocations: 238.8 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3865, allocations: 0.7352 MB / 440.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3865, allocations: 0 / 440.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3865, allocations: 0 / 440.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3865, allocations: 0 / 440.7 MB, free: 13.65 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.001813/0.3883, allocations: 0.8966 MB / 441.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3883, allocations: 12.03 kB / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.791e-05/0.3884, allocations: 9.188 kB / 441.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.661e-05/0.3885, allocations: 74.72 kB / 441.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.3887, allocations: 80.5 kB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006024/0.3893, allocations: 360.3 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.3893, allocations: 37.31 kB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.3894, allocations: 40.36 kB / 442.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.3903, allocations: 0.5605 MB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3903, allocations: 0 / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.3903, allocations: 16 kB / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3904, allocations: 12 kB / 442.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006434/0.391, allocations: 315.8 kB / 443.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.3935, allocations: 1.559 MB / 444.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.3942, allocations: 323.1 kB / 444.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.3945, allocations: 164.2 kB / 445.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.3946, allocations: 4 kB / 445.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005505/0.3951, allocations: 373.1 kB / 445.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.894e-06/0.3951, allocations: 4 kB / 445.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002175/0.3973, allocations: 0.712 MB / 446.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.3974, allocations: 191.9 kB / 446.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.3981, allocations: 0.5018 MB / 446.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.3982, allocations: 37.7 kB / 446.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.3985, allocations: 264.7 kB / 447.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3986, allocations: 127 kB / 447.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.3988, allocations: 78.12 kB / 447.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.399, allocations: 366.7 kB / 447.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.3992, allocations: 124.8 kB / 447.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.3997, allocations: 371.4 kB / 448.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.4002, allocations: 277.1 kB / 448.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4002, allocations: 0 / 448.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00086/0.401, allocations: 477 kB / 448.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.401, allocations: 8.094 kB / 449 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.401, allocations: 0 / 449 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.4016, allocations: 159.3 kB / 449.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4018, allocations: 47.91 kB / 449.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005674/0.4075, allocations: 6.214 MB / 455.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.4079, allocations: 51.95 kB / 455.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.4079, allocations: 19.98 kB / 455.4 MB, free: 13.94 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.000286/0.4082, allocations: 189.7 kB / 455.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.4083, allocations: 55.62 kB / 455.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.4094, allocations: 0.501 MB / 456.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4094, allocations: 4 kB / 456.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.4094, allocations: 0 / 456.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4094, allocations: 0 / 456.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.4099, allocations: 420.2 kB / 456.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4099, allocations: 128 / 456.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.4101, allocations: 35.91 kB / 456.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.4105, allocations: 155.4 kB / 456.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.4105, allocations: 11.98 kB / 456.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00527/0.4158, allocations: 5.923 MB / 462.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4158, allocations: 0 / 462.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.4169, allocations: 0.5073 MB / 463.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.4172, allocations: 87.5 kB / 463.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.4172, allocations: 11.98 kB / 463.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.4175, allocations: 28.11 kB / 463.3 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.4177, allocations: 63.83 kB / 463.4 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.4177, allocations: 12 kB / 463.4 MB, free: 5.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004867/0.4182, allocations: 371.1 kB / 463.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4182, allocations: 0 / 463.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009016/0.4191, allocations: 167.8 kB / 463.9 MB, free: 4.867 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 (25): * Single equations (assignments): 18 * 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.003311/0.4224, allocations: 1.408 MB / 465.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.424, allocations: 0.7872 MB / 466.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.424, allocations: 4 kB / 466.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.4249, allocations: 0.6391 MB / 466.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/0.4256, allocations: 132.9 kB / 466.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007061/0.4327, allocations: 4.301 MB / 471.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.433, allocations: 263.4 kB / 471.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00022/0.4332, allocations: 56.16 kB / 471.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.4335, allocations: 171.4 kB / 471.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4335, allocations: 4 kB / 471.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.486, allocations: 15.09 MB / 486.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.67, allocations: 11.56 kB / 486.8 MB, free: 14.02 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.316440601018257] Failed to read output from testmodel.py, exit status != 0: ['time', 'IdealThyristor1.off', 'IdealThyristor2.off', 'booleanStep1.y'] 13.903026571962982 13.928036326 13.536757454 Calling exit ...