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.00131/0.00131, allocations: 114.6 kB / 19.17 MB, free: 3.891 MB / 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.001411/0.001411, allocations: 203.8 kB / 22.11 MB, free: 0.9531 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.428/1.428, allocations: 207.6 MB / 232.5 MB, free: 11.49 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",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.001731/0.001731, allocations: 59.91 kB / 343 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2351, allocations: 49.12 MB / 392.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003147/0.2383, allocations: 2.715 MB / 394.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2393, allocations: 0.7465 MB / 395.6 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.2394, allocations: 3.344 kB / 395.6 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.2396, allocations: 44.75 kB / 395.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.2397, allocations: 90 kB / 395.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.24, allocations: 104.1 kB / 395.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.2404, allocations: 377.8 kB / 396.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2405, allocations: 68.84 kB / 396.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.2407, allocations: 147.6 kB / 396.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.2409, allocations: 179.7 kB / 396.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.241, allocations: 32.62 kB / 396.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.429e-05/0.241, allocations: 34.19 kB / 396.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.2411, allocations: 70.58 kB / 396.7 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.2412, allocations: 150.2 kB / 396.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.2416, allocations: 368.3 kB / 397.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2416, allocations: 0 / 397.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2416, allocations: 1.375 kB / 397.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2417, allocations: 0 / 397.2 MB, free: 5.445 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.001375/0.243, allocations: 0.6773 MB / 397.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2431, allocations: 10.22 kB / 397.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.295e-05/0.2431, allocations: 9.156 kB / 397.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.2431, allocations: 55.08 kB / 398 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.2432, allocations: 31.53 kB / 398 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.2435, allocations: 275.6 kB / 398.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2435, allocations: 12.91 kB / 398.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.2435, allocations: 22.31 kB / 398.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.2443, allocations: 309.9 kB / 398.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2443, allocations: 0 / 398.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.2443, allocations: 10.84 kB / 398.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2443, allocations: 8.219 kB / 398.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009517/0.2453, allocations: 297.2 kB / 398.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.247, allocations: 0.9583 MB / 399.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.25, allocations: 488.1 kB / 400.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.2506, allocations: 199.2 kB / 400.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2506, allocations: 2.219 kB / 400.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005917/0.2512, allocations: 243 kB / 400.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.2512, allocations: 3.938 kB / 400.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001545/0.2527, allocations: 464.6 kB / 401.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.2528, allocations: 118 kB / 401.4 MB, free: 3.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.253, allocations: 231.6 kB / 401.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.253, allocations: 31.14 kB / 401.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.2531, allocations: 156.3 kB / 401.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.2532, allocations: 74.8 kB / 401.8 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2533, allocations: 47.8 kB / 401.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.2534, allocations: 331.7 kB / 402.2 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.2539, allocations: 138 kB / 402.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.2544, allocations: 187.8 kB / 402.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008843/0.2553, allocations: 309.6 kB / 402.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2553, allocations: 0 / 402.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001104/0.2564, allocations: 412.3 kB / 403.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.2564, allocations: 37.78 kB / 403.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2564, allocations: 1.188 kB / 403.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2564, allocations: 2.156 kB / 403.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.2581, allocations: 240.2 kB / 403.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/0.2625, allocations: 3.408 MB / 406.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.2629, allocations: 57.06 kB / 407 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.2629, allocations: 16.17 kB / 407 MB, free: 14.74 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.0001766/0.2631, allocations: 139.5 kB / 407.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.2631, allocations: 28.23 kB / 407.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.2632, allocations: 26.59 kB / 407.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2632, allocations: 1.938 kB / 407.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2632, allocations: 1.375 kB / 407.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2632, allocations: 2.781 kB / 407.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.2652, allocations: 0.8934 MB / 408.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2652, allocations: 1.5 kB / 408.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.2669, allocations: 232.9 kB / 408.3 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2669, allocations: 1.312 kB / 408.3 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.2669, allocations: 8.156 kB / 408.3 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.2718, allocations: 3.412 MB / 411.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2718, allocations: 5.359 kB / 411.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.2734, allocations: 0.5907 MB / 412.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.2735, allocations: 111.1 kB / 412.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.2735, allocations: 6.281 kB / 412.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.2739, allocations: 35.39 kB / 412.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.2739, allocations: 35.03 kB / 412.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.274, allocations: 9.734 kB / 412.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.2741, allocations: 166.7 kB / 412.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2741, allocations: 0 / 412.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004855/0.2746, allocations: 91.16 kB / 412.8 MB, free: 10.16 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.002024/0.2766, allocations: 1.153 MB / 413.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.2792, allocations: 0.5174 MB / 414.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2792, allocations: 0 / 414.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.2811, allocations: 353 kB / 414.8 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.2815, allocations: 37.56 kB / 414.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.2874, allocations: 3.134 MB / 418 MB, free: 6.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.2878, allocations: 0.7544 MB / 418.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.288, allocations: 20.42 kB / 418.7 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.2881, allocations: 83.5 kB / 418.8 MB, free: 5.746 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2881, allocations: 4 kB / 418.8 MB, free: 5.742 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.3149, allocations: 6.431 MB / 425.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.09, allocations: 12 kB / 425.3 MB, free: 2 MB / 334.1 MB " [Timeout remaining time 648] (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.387826836958993] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', 'thyristor_v4_1.vControl'] 12.2363643500139 12.251309362 12.006845352 Calling exit ...