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.001744/0.001744, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.001807/0.001807, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 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 1.302/1.302, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 50.58 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2308, allocations: 49.16 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003366/0.2342, allocations: 2.524 MB / 398.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2353, allocations: 0.7152 MB / 399.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.2354, allocations: 3.062 kB / 399.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2355, allocations: 44.12 kB / 399.6 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.2357, allocations: 89.02 kB / 399.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.236, allocations: 106.8 kB / 399.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.2364, allocations: 376.3 kB / 400.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.2366, allocations: 63.66 kB / 400.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.2368, allocations: 151.9 kB / 400.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.237, allocations: 153.8 kB / 400.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.237, allocations: 33.09 kB / 400.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.2371, allocations: 32.69 kB / 400.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.2372, allocations: 69.98 kB / 400.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2373, allocations: 130.5 kB / 400.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.2377, allocations: 367.5 kB / 401.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2377, allocations: 3.938 kB / 401.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2377, allocations: 0 / 401.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2377, allocations: 1.5 kB / 401.2 MB, free: 5.922 MB / 318.1 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.001337/0.239, allocations: 0.6028 MB / 401.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2391, allocations: 13.17 kB / 401.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.2391, allocations: 53.94 kB / 401.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.2392, allocations: 40.66 kB / 401.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.2395, allocations: 211.8 kB / 402.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2395, allocations: 17.75 kB / 402.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.2396, allocations: 18.62 kB / 402.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.2403, allocations: 347.5 kB / 402.5 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2403, allocations: 0 / 402.5 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.2404, allocations: 6.062 kB / 402.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2404, allocations: 5.375 kB / 402.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.2412, allocations: 286.5 kB / 402.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.2427, allocations: 0.8637 MB / 403.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.2453, allocations: 479.6 kB / 404.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005919/0.2459, allocations: 213.6 kB / 404.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.246, allocations: 5.547 kB / 404.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005903/0.2466, allocations: 265.6 kB / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.2466, allocations: 0 / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001462/0.248, allocations: 463.5 kB / 405 MB, free: 3.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2481, allocations: 111.5 kB / 405.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.2483, allocations: 232 kB / 405.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.2483, allocations: 32.98 kB / 405.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.2484, allocations: 159.2 kB / 405.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.2484, allocations: 73.17 kB / 405.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.2485, allocations: 48.59 kB / 405.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.2486, allocations: 332.2 kB / 406 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.249, allocations: 165.9 kB / 406.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.2495, allocations: 232.5 kB / 406.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.2504, allocations: 325.7 kB / 406.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2504, allocations: 2.078 kB / 406.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009993/0.2514, allocations: 432.4 kB / 407.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.2514, allocations: 38.08 kB / 407.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2514, allocations: 0 / 407.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2514, allocations: 2.625 kB / 407.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.253, allocations: 239.3 kB / 407.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003764/0.2568, allocations: 3.177 MB / 410.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.2571, allocations: 53.39 kB / 410.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.2572, allocations: 12.38 kB / 410.6 MB, free: 15.53 MB / 334.1 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.0001869/0.2574, allocations: 143.3 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.2574, allocations: 27.64 kB / 410.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.2575, allocations: 31.3 kB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2575, allocations: 1.625 kB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2575, allocations: 2.234 kB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2575, allocations: 1.078 kB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.2592, allocations: 0.8345 MB / 411.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2592, allocations: 1.281 kB / 411.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.2608, allocations: 230.2 kB / 411.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.2608, allocations: 2.156 kB / 411.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2608, allocations: 2.219 kB / 411.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/0.2653, allocations: 3.192 MB / 415.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2653, allocations: 9.5 kB / 415.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2668, allocations: 0.6003 MB / 415.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.2669, allocations: 31.16 kB / 415.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.2669, allocations: 10.47 kB / 415.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.2673, allocations: 39.2 kB / 415.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.2674, allocations: 26.02 kB / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.2674, allocations: 9.156 kB / 415.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.2676, allocations: 171 kB / 416 MB, free: 11.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2676, allocations: 0 / 416 MB, free: 11.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004639/0.268, allocations: 79.42 kB / 416.1 MB, free: 11.07 MB / 334.1 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.00188/0.2699, allocations: 1.156 MB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.2723, allocations: 0.5483 MB / 417.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2723, allocations: 0 / 417.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.2741, allocations: 348.4 kB / 418.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.2746, allocations: 42.72 kB / 418.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/0.2805, allocations: 3.245 MB / 421.4 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.2806, allocations: 141.5 kB / 421.5 MB, free: 7.195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.2808, allocations: 32.8 kB / 421.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.2809, allocations: 79.66 kB / 421.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2809, allocations: 3.938 kB / 421.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.3162, allocations: 7.245 MB / 428.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.57, allocations: 7.812 kB / 428.9 MB, free: 1.484 MB / 334.1 MB " [Timeout remaining time 647] (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: 14.748949935194105] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.689418132416904 12.716614393 12.473930512999999 Calling exit ...