Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.93 MB / 361.6 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 79.88 kB / 0.497 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.326, allocations: 66.09 MB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003673/0.3297, allocations: 1.757 MB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3315, allocations: 1.045 MB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.3315, allocations: 3.938 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.3319, allocations: 111.7 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.3323, allocations: 127.5 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.3325, allocations: 79.72 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.3328, allocations: 131.6 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3329, allocations: 9.953 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.333, allocations: 63.75 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3331, allocations: 67.75 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3331, allocations: 8 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3333, allocations: 67.95 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.3333, allocations: 27.86 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.3334, allocations: 35.69 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3336, allocations: 155.3 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3337, allocations: 3.938 kB / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3337, allocations: 3.938 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3337, allocations: 3.984 kB / 0.5652 GB, free: 0.543 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005531/0.3342, allocations: 369.3 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3343, allocations: 16.03 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.3343, allocations: 192 / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.3343, allocations: 34.75 kB / 0.5656 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.3343, allocations: 24.77 kB / 0.5656 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.3347, allocations: 170.4 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3347, allocations: 384 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3347, allocations: 8.328 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3348, allocations: 61.61 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3349, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3349, allocations: 11.98 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3349, allocations: 0 / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.335, allocations: 23.92 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3354, allocations: 279.8 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.3356, allocations: 58.55 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.3357, allocations: 20.98 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3357, allocations: 0 / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3358, allocations: 79.25 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3359, allocations: 0 / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007088/0.3366, allocations: 241.2 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3366, allocations: 55.41 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.3369, allocations: 254.7 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.3369, allocations: 33.7 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.3369, allocations: 108.1 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.337, allocations: 43.75 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.337, allocations: 25.72 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3372, allocations: 330.8 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.3372, allocations: 27.98 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.218e-05/0.3373, allocations: 45.7 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3375, allocations: 81.64 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3375, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002225/0.3377, allocations: 133.5 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3377, allocations: 7.984 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3377, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3377, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.3378, allocations: 24 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3378, allocations: 7.969 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.3379, allocations: 3.984 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3379, allocations: 4 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001136/0.338, allocations: 140.2 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.338, allocations: 19.84 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.3383, allocations: 143 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3383, allocations: 4 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3383, allocations: 3.938 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3383, allocations: 7.984 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.3388, allocations: 419.1 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3388, allocations: 3.938 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.3389, allocations: 15.98 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.3389, allocations: 4 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3389, allocations: 0 / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3389, allocations: 4 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3389, allocations: 8 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3392, allocations: 233.3 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.3392, allocations: 15.84 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3392, allocations: 8 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.3393, allocations: 4 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.3393, allocations: 15.98 kB / 0.5687 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3394, allocations: 7.984 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.3395, allocations: 188.2 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3395, allocations: 0 / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3398, allocations: 27.94 kB / 0.5689 GB, free: 12.45 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.002372/0.3422, allocations: 1.177 MB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3424, allocations: 79.84 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3424, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.3425, allocations: 35.92 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3428, allocations: 42.58 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.3451, allocations: 1.884 MB / 0.572 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3455, allocations: 0.7197 MB / 0.5727 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.3455, allocations: 20.62 kB / 0.5727 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.3456, allocations: 47.42 kB / 0.5728 GB, free: 8.48 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3456, allocations: 0 / 0.5728 GB, free: 8.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.3688, allocations: 4.244 MB / 0.5769 GB, free: 4.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11, allocations: 18.09 kB / 0.5769 GB, free: 4.277 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.85096622997662] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 11.21503781300271 11.230616494 10.893859692 Calling exit ...