Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008995, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.923/0.923, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.571e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00276/0.002776, allocations: 2.547 MB / 321 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.003899, allocations: 0.6738 MB / 321.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.004042, allocations: 7.938 kB / 321.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.004172, allocations: 43.56 kB / 321.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.004327, allocations: 95.14 kB / 321.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.004662, allocations: 111.7 kB / 321.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.005056, allocations: 382.4 kB / 322.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.005225, allocations: 60.83 kB / 322.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.005529, allocations: 215.5 kB / 322.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.005678, allocations: 135.6 kB / 322.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.005725, allocations: 32 kB / 322.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.696e-05/0.005762, allocations: 32 kB / 322.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.005815, allocations: 79.73 kB / 322.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.016e-05/0.005905, allocations: 103.8 kB / 322.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.006198, allocations: 386.8 kB / 323.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.0062, allocations: 0 / 323.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.006201, allocations: 0 / 323.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.006207, allocations: 0 / 323.3 MB, free: 1.449 MB / 282.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.0009804/0.007187, allocations: 0.608 MB / 323.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.007228, allocations: 8.922 kB / 323.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.007274, allocations: 54.73 kB / 324 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.00733, allocations: 36.69 kB / 324 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.007597, allocations: 214.2 kB / 324.2 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.007623, allocations: 20.88 kB / 324.2 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.007656, allocations: 16.38 kB / 324.3 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.008181, allocations: 332.9 kB / 324.6 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.008192, allocations: 4.188 kB / 324.6 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.008219, allocations: 16.11 kB / 324.6 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.008225, allocations: 4 kB / 324.6 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000559/0.008784, allocations: 289.7 kB / 324.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.009869, allocations: 0.8632 MB / 325.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.01118, allocations: 478.2 kB / 326.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.01154, allocations: 200.7 kB / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.01156, allocations: 4 kB / 326.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.01193, allocations: 266.4 kB / 326.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.01193, allocations: 0 / 326.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008149/0.01274, allocations: 465.5 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.01279, allocations: 110.8 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.01295, allocations: 233.7 kB / 327.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.01298, allocations: 29.7 kB / 327.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.01305, allocations: 160.5 kB / 327.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.0131, allocations: 83.3 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.01317, allocations: 41.94 kB / 327.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.01325, allocations: 334.8 kB / 328.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.01351, allocations: 166.1 kB / 328.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.01379, allocations: 239.5 kB / 328.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.01426, allocations: 316.7 kB / 328.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01427, allocations: 0 / 328.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005999/0.01487, allocations: 436.7 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.0149, allocations: 33.69 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.0149, allocations: 4 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.01492, allocations: 3.938 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.01567, allocations: 239.6 kB / 329.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.01826, allocations: 3.177 MB / 332.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.01845, allocations: 56.09 kB / 332.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.01847, allocations: 4 kB / 332.8 MB, free: 7.461 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.0001214/0.01859, allocations: 141.8 kB / 332.9 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.01862, allocations: 27.8 kB / 332.9 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.01866, allocations: 34.11 kB / 333 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01866, allocations: 0 / 333 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01866, allocations: 8 kB / 333 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.01867, allocations: 3.984 kB / 333 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009932/0.01966, allocations: 0.8251 MB / 333.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01966, allocations: 0 / 333.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.02037, allocations: 235.7 kB / 334 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02038, allocations: 0 / 334 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.02039, allocations: 8 kB / 334 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.02282, allocations: 3.185 MB / 337.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.02283, allocations: 7.938 kB / 337.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/0.02368, allocations: 0.5946 MB / 337.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.0237, allocations: 27.8 kB / 337.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.02373, allocations: 11.98 kB / 337.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.0239, allocations: 43.95 kB / 337.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.02397, allocations: 27.95 kB / 337.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.02398, allocations: 8 kB / 337.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.02409, allocations: 173.2 kB / 338.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02409, allocations: 0 / 338.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.02441, allocations: 87.83 kB / 338.2 MB, free: 1.719 MB / 298.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.00115/0.02556, allocations: 1.139 MB / 339.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.02685, allocations: 0.5514 MB / 339.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02685, allocations: 0 / 339.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008817/0.02773, allocations: 347.7 kB / 340.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.028, allocations: 48.33 kB / 340.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.03158, allocations: 3.196 MB / 343.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.988e-05/0.03167, allocations: 142.2 kB / 343.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.669e-05/0.03176, allocations: 21.95 kB / 343.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.03186, allocations: 80.47 kB / 343.7 MB, free: 12 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03186, allocations: 0 / 343.7 MB, free: 12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.05154, allocations: 7.379 MB / 351.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/7.888, allocations: 11.44 kB / 351.1 MB, free: 4.789 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.614763321354985] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 7.98471859190613 7.994437206 7.986544268 Calling exit ...