Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001319/0.001319, allocations: 107.9 kB / 20.48 MB, free: 1.125 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.001686/0.001686, allocations: 210.7 kB / 23.77 MB, free: 4.332 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.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2516/0.2516, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 79.88 kB / 0.4963 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3532, allocations: 66.09 MB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003476/0.3567, allocations: 1.96 MB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3586, allocations: 1.068 MB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3587, allocations: 0 / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.3591, allocations: 55.62 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.3594, allocations: 107.4 kB / 0.5639 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.3597, allocations: 119.6 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.36, allocations: 203.4 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3601, allocations: 23.61 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.3602, allocations: 83.64 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3603, allocations: 71.61 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3604, allocations: 12 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3605, allocations: 59.92 kB / 0.5645 GB, free: 248 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.3605, allocations: 43.78 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.3606, allocations: 63.64 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.361, allocations: 195.3 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.361, allocations: 7.938 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.361, allocations: 4 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.361, allocations: 0 / 0.5648 GB, free: 15.93 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009545/0.3619, allocations: 0.4887 MB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.362, allocations: 8.031 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.362, allocations: 42.73 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.3621, allocations: 16.84 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3624, allocations: 194.1 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.3624, allocations: 12.36 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.3625, allocations: 8.375 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.3629, allocations: 178 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3629, allocations: 0 / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3629, allocations: 0 / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3629, allocations: 8 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.3634, allocations: 119.8 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.364, allocations: 0.496 MB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.3647, allocations: 158.6 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.3649, allocations: 72.8 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3649, allocations: 3.938 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.3653, allocations: 164.9 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3653, allocations: 0 / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008893/0.3662, allocations: 257.4 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3662, allocations: 55.41 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.3665, allocations: 246.1 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3665, allocations: 29.7 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.3666, allocations: 132.4 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.3666, allocations: 35.69 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.3667, allocations: 37.72 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3668, allocations: 330.8 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3671, allocations: 101.6 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.3674, allocations: 132.7 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.3679, allocations: 205.2 kB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3679, allocations: 0 / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006676/0.3686, allocations: 284.8 kB / 0.5684 GB, free: 11.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.3686, allocations: 41.69 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3686, allocations: 0 / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3687, allocations: 4 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.3688, allocations: 35.91 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3689, allocations: 7.938 kB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.369, allocations: 31.92 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.369, allocations: 8 kB / 0.5686 GB, free: 11.74 MB / 414.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001244/0.3692, allocations: 137.8 kB / 0.5687 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3692, allocations: 19.91 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.3699, allocations: 214.9 kB / 0.5689 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3699, allocations: 0 / 0.5689 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3699, allocations: 7.875 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3699, allocations: 8 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3701, allocations: 192.6 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3701, allocations: 0 / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.3702, allocations: 23.97 kB / 0.5691 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3702, allocations: 0 / 0.5691 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3702, allocations: 11.98 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3702, allocations: 0 / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3702, allocations: 7.922 kB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.3711, allocations: 308.8 kB / 0.5695 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.3712, allocations: 31.77 kB / 0.5695 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.3712, allocations: 8 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3714, allocations: 23.91 kB / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.3714, allocations: 19.91 kB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3714, allocations: 12.05 kB / 0.5695 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.3716, allocations: 180.5 kB / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3716, allocations: 0 / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.3719, allocations: 32 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002595/0.3744, allocations: 1.175 MB / 0.5709 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006404/0.3751, allocations: 244.9 kB / 0.5711 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3751, allocations: 0 / 0.5711 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.3754, allocations: 84.16 kB / 0.5712 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.3757, allocations: 48.52 kB / 0.5713 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.379, allocations: 2.311 MB / 0.5735 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.3791, allocations: 116.1 kB / 0.5736 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.823e-05/0.3792, allocations: 21.47 kB / 0.5736 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3793, allocations: 63.41 kB / 0.5737 GB, free: 6.359 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3793, allocations: 0 / 0.5737 GB, free: 6.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.4125, allocations: 5.941 MB / 0.5795 GB, free: 456 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.56, allocations: 16.58 kB / 0.5795 GB, free: 448 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.64469841800019] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.725032776001171 11.751372566 11.385616718 Calling exit ...