Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008379/0.0008379, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004418/0.004418, allocations: 164.6 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8677/0.8677, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.196e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003306/0.003328, allocations: 2.528 MB / 301 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.004556, allocations: 0.7098 MB / 301.7 MB, free: 244 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.004705, allocations: 4 kB / 301.7 MB, free: 240 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.00484, allocations: 43.58 kB / 301.7 MB, free: 196 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.004999, allocations: 87.14 kB / 301.8 MB, free: 108 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1377/0.1427, allocations: 113.5 kB / 301.9 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.1432, allocations: 391.6 kB / 302.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1433, allocations: 51.44 kB / 302.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.1437, allocations: 218.1 kB / 302.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1439, allocations: 132.3 kB / 302.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.202e-05/0.1439, allocations: 32.59 kB / 302.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.144, allocations: 33.34 kB / 302.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.1441, allocations: 72.17 kB / 302.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1442, allocations: 111.9 kB / 302.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1446, allocations: 384 kB / 303.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1446, allocations: 0.7188 kB / 303.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1446, allocations: 0 / 303.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1446, allocations: 3.531 kB / 303.3 MB, free: 13.08 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.001087/0.1457, allocations: 0.5987 MB / 303.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1457, allocations: 18.58 kB / 303.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1458, allocations: 53.84 kB / 304 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.1458, allocations: 32.75 kB / 304 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1462, allocations: 209.2 kB / 304.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1462, allocations: 16.47 kB / 304.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.1462, allocations: 22.59 kB / 304.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.1468, allocations: 337.6 kB / 304.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1468, allocations: 1.312 kB / 304.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.1469, allocations: 5.469 kB / 304.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1469, allocations: 8.781 kB / 304.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.1475, allocations: 297.5 kB / 304.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.1487, allocations: 0.8612 MB / 305.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.1501, allocations: 483.9 kB / 306.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.1505, allocations: 197.5 kB / 306.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.1505, allocations: 9.5 kB / 306.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.151, allocations: 261.3 kB / 306.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.465e-06/0.151, allocations: 0 / 306.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009552/0.1519, allocations: 467.7 kB / 307.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.152, allocations: 111.1 kB / 307.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1522, allocations: 231.7 kB / 307.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1522, allocations: 28.7 kB / 307.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.1522, allocations: 163.3 kB / 307.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.1523, allocations: 69.47 kB / 307.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.1524, allocations: 48.28 kB / 307.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.1524, allocations: 332.2 kB / 308.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.1527, allocations: 170.3 kB / 308.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.1529, allocations: 227.1 kB / 308.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.1534, allocations: 321.9 kB / 308.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1534, allocations: 0 / 308.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006306/0.1541, allocations: 437.2 kB / 309.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1541, allocations: 33.02 kB / 309.3 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1541, allocations: 4.062 kB / 309.3 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1541, allocations: 10.47 kB / 309.3 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/0.1549, allocations: 239.4 kB / 309.5 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.1573, allocations: 3.178 MB / 312.7 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1575, allocations: 57.28 kB / 312.8 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1575, allocations: 15.92 kB / 312.8 MB, free: 7.098 MB / 282.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.0001386/0.1576, allocations: 140.2 kB / 312.9 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1577, allocations: 30.58 kB / 312.9 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.1577, allocations: 27.59 kB / 313 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1577, allocations: 2.531 kB / 313 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1577, allocations: 1.781 kB / 313 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1577, allocations: 2.484 kB / 313 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1588, allocations: 0.827 MB / 313.8 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1588, allocations: 0 / 313.8 MB, free: 6.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/0.1595, allocations: 237.3 kB / 314 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1595, allocations: 1.438 kB / 314 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.1596, allocations: 4.453 kB / 314 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.1616, allocations: 3.187 MB / 317.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1616, allocations: 5.312 kB / 317.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.1624, allocations: 0.597 MB / 317.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.1625, allocations: 23.95 kB / 317.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1625, allocations: 8.953 kB / 317.9 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1627, allocations: 38.72 kB / 317.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.1627, allocations: 30.38 kB / 317.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1628, allocations: 10.56 kB / 317.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1629, allocations: 171.2 kB / 318.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1629, allocations: 0 / 318.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.1632, allocations: 83.55 kB / 318.2 MB, free: 3.109 MB / 282.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.001004/0.1642, allocations: 1.142 MB / 319.3 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1656, allocations: 0.5574 MB / 319.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1656, allocations: 0 / 319.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009427/0.1665, allocations: 350.5 kB / 320.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.1668, allocations: 43.86 kB / 320.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.1704, allocations: 3.196 MB / 323.5 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.1705, allocations: 139.4 kB / 323.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1707, allocations: 25.81 kB / 323.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1708, allocations: 81.8 kB / 323.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1708, allocations: 0 / 323.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.193, allocations: 7.383 MB / 331.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.748, allocations: 9.984 kB / 331.1 MB, free: 11.89 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.324581096880138] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 7.843543508090079 7.853015668 7.705930221 Calling exit ...