Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008629/0.0008629, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008259/0.0008259, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9014/0.9014, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.465e-05, allocations: 2.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002592/0.002617, allocations: 2.6 MB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008977/0.003515, allocations: 0.7205 MB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.003618, allocations: 7.938 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.003732, allocations: 31.64 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.003857, allocations: 103.1 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.004154, allocations: 123.6 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.004434, allocations: 394.3 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.004572, allocations: 52.89 kB / 328.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.004843, allocations: 223.5 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.004975, allocations: 131.6 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005015, allocations: 36 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.005074, allocations: 40 kB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.005119, allocations: 71.73 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.005203, allocations: 111.7 kB / 329.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.005503, allocations: 394.8 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005505, allocations: 0 / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005506, allocations: 0 / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.00551, allocations: 0 / 329.5 MB, free: 10.84 MB / 298.7 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.0009363/0.006446, allocations: 0.6087 MB / 330.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.006483, allocations: 11.98 kB / 330.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.006529, allocations: 54.73 kB / 330.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.006643, allocations: 44.73 kB / 330.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.00692, allocations: 228.7 kB / 330.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.006939, allocations: 20.8 kB / 330.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.006974, allocations: 20.38 kB / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.007427, allocations: 340.9 kB / 330.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007435, allocations: 192 / 330.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.007457, allocations: 12.12 kB / 330.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.007464, allocations: 11.98 kB / 330.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.007958, allocations: 289.8 kB / 331.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.009006, allocations: 0.8748 MB / 332 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.01035, allocations: 490.1 kB / 332.5 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.01072, allocations: 204.7 kB / 332.7 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.01074, allocations: 3.984 kB / 332.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003906/0.01113, allocations: 259.5 kB / 333 MB, free: 7.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.01113, allocations: 3.938 kB / 333 MB, free: 7.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008537/0.01199, allocations: 480.4 kB / 333.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.01204, allocations: 106.8 kB / 333.5 MB, free: 6.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.0122, allocations: 245.8 kB / 333.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.01223, allocations: 29.7 kB / 333.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.01231, allocations: 168.4 kB / 334 MB, free: 6.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.01236, allocations: 71.39 kB / 334 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.01243, allocations: 49.94 kB / 334.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.01251, allocations: 330.8 kB / 334.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.01278, allocations: 174 kB / 334.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.01306, allocations: 231.7 kB / 334.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.01354, allocations: 320.1 kB / 335.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01354, allocations: 0 / 335.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006054/0.01415, allocations: 444.6 kB / 335.6 MB, free: 4.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.01418, allocations: 37.69 kB / 335.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01418, allocations: 4 kB / 335.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.0142, allocations: 3.938 kB / 335.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.01497, allocations: 263.7 kB / 335.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.01763, allocations: 3.22 MB / 339.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.01783, allocations: 56.03 kB / 339.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.01785, allocations: 7.984 kB / 339.1 MB, free: 0.6797 MB / 298.7 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.0001292/0.01798, allocations: 145.8 kB / 339.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.01801, allocations: 31.75 kB / 339.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.01804, allocations: 26.12 kB / 339.3 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01804, allocations: 7.984 kB / 339.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.01805, allocations: 0 / 339.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01805, allocations: 0 / 339.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.01908, allocations: 0.834 MB / 340.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01908, allocations: 0 / 340.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.01984, allocations: 263.7 kB / 340.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01984, allocations: 4 kB / 340.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.01986, allocations: 7.984 kB / 340.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/0.0226, allocations: 3.229 MB / 343.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.0226, allocations: 0 / 343.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.02357, allocations: 0.6053 MB / 344.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.02361, allocations: 35.75 kB / 344.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.02364, allocations: 4 kB / 344.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.02382, allocations: 47.95 kB / 344.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.02393, allocations: 27.95 kB / 344.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.02395, allocations: 8 kB / 344.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.02408, allocations: 173.2 kB / 344.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02408, allocations: 0 / 344.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003817/0.02446, allocations: 87.83 kB / 344.7 MB, free: 10.85 MB / 314.7 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.001204/0.02566, allocations: 1.148 MB / 345.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.02716, allocations: 0.5865 MB / 346.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.02716, allocations: 4 kB / 346.4 MB, free: 9.062 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009862/0.02815, allocations: 379 kB / 346.8 MB, free: 8.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.02861, allocations: 53.25 kB / 346.8 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.0322, allocations: 3.236 MB / 350.1 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.03229, allocations: 138.2 kB / 350.2 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.8e-05/0.03238, allocations: 29.94 kB / 350.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.03249, allocations: 84.47 kB / 350.3 MB, free: 4.996 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03249, allocations: 0 / 350.3 MB, free: 4.996 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.05877, allocations: 7.485 MB / 357.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.687, allocations: 18.2 kB / 357.8 MB, free: 13.64 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.324029876850545] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 7.776934752240777 7.786449766 7.7792764100000005 Calling exit ...