Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.001223/0.001223, 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.001476/0.001476, 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.387/1.387, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.222/0.222, allocations: 46.93 MB / 361.6 MB, free: 4.148 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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 75.88 kB / 0.497 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.317, allocations: 66.08 MB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004121/0.3211, allocations: 2.38 MB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3236, allocations: 1.418 MB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.3237, allocations: 11.88 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.3243, allocations: 295 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006869/0.3249, allocations: 342.7 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.3255, allocations: 215.4 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000757/0.3262, allocations: 0.5647 MB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3264, allocations: 39.23 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.3268, allocations: 266.9 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.3271, allocations: 294.8 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.3272, allocations: 16 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3273, allocations: 55.98 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.3275, allocations: 119.5 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.3277, allocations: 182.6 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.3282, allocations: 433.8 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3283, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3283, allocations: 7.938 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3283, allocations: 0 / 0.568 GB, free: 13.62 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001322/0.3296, allocations: 0.7339 MB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3296, allocations: 12.03 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.673e-05/0.3296, allocations: 8.188 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.3297, allocations: 50.73 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.3298, allocations: 56.56 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.3304, allocations: 353.1 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.3305, allocations: 16.36 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.3305, allocations: 12.38 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.3309, allocations: 213.8 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3309, allocations: 0 / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.3309, allocations: 7.984 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3309, allocations: 7.938 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.3312, allocations: 95.86 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.3322, allocations: 0.8323 MB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.3329, allocations: 273.3 kB / 0.5706 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.3331, allocations: 96.19 kB / 0.5707 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3331, allocations: 8 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004402/0.3336, allocations: 231.5 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.3336, allocations: 0 / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002075/0.3356, allocations: 1.044 MB / 0.5719 GB, free: 9.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3357, allocations: 170.2 kB / 0.5721 GB, free: 9.148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.3365, allocations: 0.6514 MB / 0.5727 GB, free: 8.484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.3366, allocations: 37.7 kB / 0.5727 GB, free: 8.441 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3368, allocations: 233 kB / 0.573 GB, free: 8.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3369, allocations: 134.9 kB / 0.5731 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.337, allocations: 66.14 kB / 0.5732 GB, free: 8.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3372, allocations: 374.8 kB / 0.5735 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.3374, allocations: 108.8 kB / 0.5736 GB, free: 7.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.3377, allocations: 180.8 kB / 0.5738 GB, free: 7.324 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.3383, allocations: 306.6 kB / 0.5741 GB, free: 6.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3383, allocations: 0 / 0.5741 GB, free: 6.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007534/0.339, allocations: 404.9 kB / 0.5745 GB, free: 6.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3391, allocations: 8 kB / 0.5745 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.3391, allocations: 3.984 kB / 0.5745 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3391, allocations: 8 kB / 0.5745 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.3394, allocations: 83.84 kB / 0.5746 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3394, allocations: 4 kB / 0.5746 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3396, allocations: 20.14 kB / 0.5746 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.3396, allocations: 16 kB / 0.5746 GB, free: 6.453 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002515/0.3399, allocations: 209.6 kB / 0.5748 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.34, allocations: 79.48 kB / 0.5749 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.3409, allocations: 458.1 kB / 0.5753 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.3409, allocations: 4 kB / 0.5753 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3409, allocations: 4 kB / 0.5753 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3409, allocations: 4 kB / 0.5753 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.3426, allocations: 1.253 MB / 0.5766 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3426, allocations: 4 kB / 0.5766 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3427, allocations: 47.91 kB / 0.5766 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3427, allocations: 4 kB / 0.5766 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.3428, allocations: 12 kB / 0.5766 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.3428, allocations: 12 kB / 0.5766 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3428, allocations: 7.984 kB / 0.5766 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/0.3437, allocations: 0.8129 MB / 0.5774 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.3437, allocations: 51.62 kB / 0.5775 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.3438, allocations: 23.92 kB / 0.5775 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.3441, allocations: 15.98 kB / 0.5775 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.3442, allocations: 35.89 kB / 0.5776 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.3443, allocations: 23.98 kB / 0.5776 GB, free: 3.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005463/0.3448, allocations: 486.8 kB / 0.578 GB, free: 2.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3448, allocations: 0 / 0.578 GB, free: 2.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.3454, allocations: 87.92 kB / 0.5781 GB, free: 2.734 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002795/0.3482, allocations: 1.743 MB / 0.5798 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006404/0.3488, allocations: 264.6 kB / 0.5801 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3488, allocations: 4.062 kB / 0.5801 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.3491, allocations: 132.5 kB / 0.5802 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3501, allocations: 144.1 kB / 0.5804 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.356, allocations: 4.541 MB / 0.5848 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.3565, allocations: 0.855 MB / 0.5856 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.3567, allocations: 88.11 kB / 0.5857 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.357, allocations: 191.4 kB / 0.5859 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/0.357, allocations: 0 / 0.5859 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.3915, allocations: 11.31 MB / 0.5969 GB, free: 15.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.74, allocations: 14.48 kB / 0.5969 GB, free: 15.43 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.56359346100362] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 11.959446673979983 11.976568311 11.645156822 Calling exit ...