Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001638/0.001638, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002151/0.002151, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.376/1.376, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 378.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2699, allocations: 53.36 MB / 431.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003243/0.2732, allocations: 1.874 MB / 433.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.2753, allocations: 1.235 MB / 435 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2754, allocations: 3.938 kB / 435 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.2757, allocations: 71.66 kB / 435 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.2761, allocations: 127.4 kB / 435.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.2767, allocations: 242.5 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.277, allocations: 187.4 kB / 435.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2771, allocations: 23.84 kB / 435.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2772, allocations: 75.69 kB / 435.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2774, allocations: 83.67 kB / 435.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.2774, allocations: 8 kB / 435.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.2776, allocations: 83.88 kB / 435.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2777, allocations: 51.77 kB / 435.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.733e-05/0.2777, allocations: 59.61 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.2781, allocations: 247 kB / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2781, allocations: 0 / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2781, allocations: 0 / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.2781, allocations: 0 / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000807/0.279, allocations: 482.5 kB / 436.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.279, allocations: 8.031 kB / 436.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.579e-05/0.279, allocations: 8.172 kB / 436.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.2791, allocations: 34.75 kB / 436.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.2791, allocations: 24.8 kB / 436.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.2796, allocations: 233.5 kB / 437 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2796, allocations: 12.12 kB / 437 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.2796, allocations: 8 kB / 437 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.2801, allocations: 207 kB / 437.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2801, allocations: 0 / 437.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2801, allocations: 0 / 437.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.2801, allocations: 4 kB / 437.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2802, allocations: 47.89 kB / 437.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.2808, allocations: 349.5 kB / 437.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2811, allocations: 115.9 kB / 437.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.2812, allocations: 42.56 kB / 437.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.2812, allocations: 11.88 kB / 437.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.2814, allocations: 75.38 kB / 437.8 MB, free: 456 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2814, allocations: 4 kB / 437.8 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004355/0.2818, allocations: 157.4 kB / 438 MB, free: 288 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.282, allocations: 166.2 kB / 438.1 MB, free: 84 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.2824, allocations: 337.8 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2824, allocations: 33.64 kB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2825, allocations: 132.1 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.2826, allocations: 15.89 kB / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.2826, allocations: 33.7 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2828, allocations: 335.1 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.2829, allocations: 27.98 kB / 439 MB, free: 15.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.283, allocations: 164 kB / 439.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.2832, allocations: 84.22 kB / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2832, allocations: 0 / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002471/0.2835, allocations: 133.5 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2835, allocations: 15.16 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2835, allocations: 0 / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2835, allocations: 0 / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2836, allocations: 23.92 kB / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.2836, allocations: 7.938 kB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.2837, allocations: 7.938 kB / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2837, allocations: 4 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.2839, allocations: 162.1 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.284, allocations: 73.45 kB / 439.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.2843, allocations: 127.4 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2843, allocations: 0 / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2843, allocations: 7.938 kB / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2843, allocations: 3.984 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.2845, allocations: 192.7 kB / 440 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2845, allocations: 4 kB / 440 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.2846, allocations: 15.88 kB / 440 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2846, allocations: 4 kB / 440 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2846, allocations: 4 kB / 440 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2846, allocations: 8.047 kB / 440.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.2846, allocations: 7.938 kB / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.2849, allocations: 174.6 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.285, allocations: 35.83 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.285, allocations: 8 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.2851, allocations: 7.984 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.2851, allocations: 11.92 kB / 440.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2851, allocations: 8 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.2854, allocations: 241.2 kB / 440.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2854, allocations: 0 / 440.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.2857, allocations: 43.92 kB / 440.6 MB, free: 13.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002214/0.2879, allocations: 1.06 MB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.2881, allocations: 67.91 kB / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2881, allocations: 0 / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.2882, allocations: 31.92 kB / 441.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.2886, allocations: 79.8 kB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.2914, allocations: 2.245 MB / 444.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2915, allocations: 131.9 kB / 444.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.554e-05/0.2916, allocations: 29.47 kB / 444.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.2917, allocations: 55.42 kB / 444.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2917, allocations: 0 / 444.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.3201, allocations: 5.807 MB / 450.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.08, allocations: 4.062 kB / 450.1 MB, free: 4.07 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.462600863073021] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.301470165955834 11.315230638 11.034215415 Calling exit ...