Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.00123/0.00123, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00134/0.00134, allocations: 219.8 kB / 24.53 MB, free: 4.008 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.382/1.382, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2211/0.2211, allocations: 46.92 MB / 361.6 MB, free: 4.168 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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 75.88 kB / 0.497 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3435, allocations: 66.08 MB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003752/0.3472, allocations: 2.302 MB / 0.5638 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.3496, allocations: 1.342 MB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3497, allocations: 11.88 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.3501, allocations: 123.3 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.3507, allocations: 250.9 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.3511, allocations: 195.6 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.3517, allocations: 470.5 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3518, allocations: 43.08 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.3523, allocations: 315 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.3525, allocations: 171.1 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.3525, allocations: 16 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.3527, allocations: 67.98 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.3528, allocations: 135.5 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.353, allocations: 186.5 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.3535, allocations: 445.7 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3535, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3535, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3536, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001213/0.3548, allocations: 0.7643 MB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3548, allocations: 16.02 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.028e-05/0.3548, allocations: 8.188 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.607e-05/0.3549, allocations: 46.73 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.355, allocations: 64.52 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000587/0.3556, allocations: 353.8 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.3556, allocations: 12.38 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.3557, allocations: 16.33 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.3561, allocations: 204.9 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3561, allocations: 3.938 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.3561, allocations: 8 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3561, allocations: 4 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.3563, allocations: 87.92 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009664/0.3573, allocations: 0.7734 MB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.3579, allocations: 234.5 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3581, allocations: 79.53 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.3582, allocations: 7.938 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.3586, allocations: 204.3 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3586, allocations: 0 / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002476/0.361, allocations: 1.14 MB / 0.5714 GB, free: 9.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3611, allocations: 144.5 kB / 0.5715 GB, free: 9.805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/0.362, allocations: 0.793 MB / 0.5723 GB, free: 9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.3621, allocations: 37.7 kB / 0.5723 GB, free: 8.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.3623, allocations: 241 kB / 0.5725 GB, free: 8.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.3624, allocations: 146.8 kB / 0.5727 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3625, allocations: 86.02 kB / 0.5728 GB, free: 8.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3627, allocations: 374.7 kB / 0.5731 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.363, allocations: 112.8 kB / 0.5732 GB, free: 7.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.3633, allocations: 187.2 kB / 0.5734 GB, free: 7.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.3638, allocations: 323 kB / 0.5737 GB, free: 7.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3638, allocations: 0 / 0.5737 GB, free: 7.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007738/0.3646, allocations: 440.8 kB / 0.5741 GB, free: 7.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3646, allocations: 6.188 kB / 0.5741 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3646, allocations: 4 kB / 0.5741 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3647, allocations: 4 kB / 0.5741 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.3649, allocations: 88.02 kB / 0.5742 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.3649, allocations: 8 kB / 0.5742 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.3651, allocations: 23.92 kB / 0.5743 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.3651, allocations: 19.94 kB / 0.5743 GB, free: 6.867 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002665/0.3654, allocations: 241.4 kB / 0.5745 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.3655, allocations: 67.53 kB / 0.5746 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000948/0.3664, allocations: 499.1 kB / 0.5751 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3665, allocations: 8 kB / 0.5751 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3665, allocations: 0 / 0.5751 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3665, allocations: 7.922 kB / 0.5751 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.3682, allocations: 1.282 MB / 0.5763 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3682, allocations: 7.938 kB / 0.5763 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.3684, allocations: 59.92 kB / 0.5764 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3684, allocations: 4 kB / 0.5764 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.3684, allocations: 15.98 kB / 0.5764 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.3684, allocations: 8.188 kB / 0.5764 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3684, allocations: 8 kB / 0.5764 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.3693, allocations: 0.7939 MB / 0.5772 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.3695, allocations: 95.52 kB / 0.5773 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.3696, allocations: 15.98 kB / 0.5773 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.3698, allocations: 23.98 kB / 0.5773 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.3699, allocations: 39.83 kB / 0.5774 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.37, allocations: 23.98 kB / 0.5774 GB, free: 3.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007572/0.3707, allocations: 0.5849 MB / 0.578 GB, free: 2.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3707, allocations: 0 / 0.578 GB, free: 2.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005314/0.3712, allocations: 83.94 kB / 0.578 GB, free: 2.883 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003056/0.3743, allocations: 1.754 MB / 0.5797 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.3749, allocations: 303.6 kB / 0.58 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3749, allocations: 0 / 0.58 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.3752, allocations: 143.7 kB / 0.5802 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009035/0.3761, allocations: 116 kB / 0.5803 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.3822, allocations: 4.751 MB / 0.5849 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.3828, allocations: 0.8899 MB / 0.5858 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.383, allocations: 83.28 kB / 0.5859 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.3833, allocations: 191.4 kB / 0.5861 GB, free: 10.58 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3833, allocations: 0 / 0.5861 GB, free: 10.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.4161, allocations: 11.27 MB / 0.5971 GB, free: 15.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.66, allocations: 6.406 kB / 0.5971 GB, free: 15.37 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.517530954035465] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 11.87175849894993 11.894642727999999 11.53706673 Calling exit ...