Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001768/0.001768, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001599/0.001599, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2448/0.2448, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 79.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3324, allocations: 66.1 MB / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003344/0.3357, allocations: 1.713 MB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3376, allocations: 0.9788 MB / 0.5634 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.019e-05/0.3376, allocations: 3.938 kB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.3379, allocations: 51.75 kB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.3383, allocations: 99.59 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3386, allocations: 79.67 kB / 0.5636 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3388, allocations: 131.6 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3389, allocations: 13.81 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.339, allocations: 63.7 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3391, allocations: 47.81 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.3391, allocations: 8 kB / 0.5639 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3393, allocations: 59.98 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.3393, allocations: 35.84 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.3394, allocations: 31.8 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.3397, allocations: 155.3 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3397, allocations: 0 / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3397, allocations: 3.938 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3397, allocations: 0 / 0.5642 GB, free: 0.5469 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005703/0.3402, allocations: 365.4 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3403, allocations: 12.03 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.3403, allocations: 38.73 kB / 0.5646 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.3404, allocations: 12.84 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3407, allocations: 170.2 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3407, allocations: 8.312 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.3407, allocations: 12.36 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3409, allocations: 73.78 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3409, allocations: 0 / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3409, allocations: 3.984 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3409, allocations: 8 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.3412, allocations: 51.95 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.3416, allocations: 287.8 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.3419, allocations: 90.52 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.342, allocations: 36.83 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.342, allocations: 0 / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.3422, allocations: 87.41 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3422, allocations: 0 / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008869/0.3431, allocations: 329.6 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3431, allocations: 51.41 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.3433, allocations: 210.1 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3433, allocations: 33.7 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.3434, allocations: 104.3 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.3435, allocations: 47.64 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.3435, allocations: 29.7 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3437, allocations: 326.8 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-05/0.3438, allocations: 43.97 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3439, allocations: 53.7 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3441, allocations: 109.6 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3441, allocations: 4 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003324/0.3444, allocations: 161.1 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3444, allocations: 8 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3444, allocations: 0 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3445, allocations: 0 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3446, allocations: 35.86 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3446, allocations: 0 / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.3446, allocations: 11.97 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3446, allocations: 7.984 kB / 0.5669 GB, free: 13.57 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 (15): * Single equations (assignments): 15 * 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.0001267/0.3448, allocations: 133.8 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.3448, allocations: 11.91 kB / 0.567 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.3452, allocations: 197.4 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3452, allocations: 0 / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3452, allocations: 3.984 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3452, allocations: 3.938 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.3459, allocations: 483.3 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3459, allocations: 0 / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.346, allocations: 27.88 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.346, allocations: 4 kB / 0.5677 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.346, allocations: 7.984 kB / 0.5677 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.346, allocations: 4 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.346, allocations: 0 / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.3464, allocations: 277 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.3464, allocations: 19.83 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3464, allocations: 8 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.3465, allocations: 8.062 kB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.3466, allocations: 11.98 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3466, allocations: 7.984 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.3467, allocations: 151.2 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3467, allocations: 288 / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.347, allocations: 35.94 kB / 0.5682 GB, free: 12.11 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 (16): * Single equations (assignments): 14 * 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.002666/0.3497, allocations: 1.255 MB / 0.5694 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.35, allocations: 111.9 kB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.35, allocations: 4 kB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3501, allocations: 51.92 kB / 0.5696 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3504, allocations: 31.95 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.3528, allocations: 1.903 MB / 0.5715 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.3529, allocations: 106.4 kB / 0.5716 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.03e-05/0.353, allocations: 33.39 kB / 0.5716 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.3531, allocations: 51.41 kB / 0.5716 GB, free: 8.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3531, allocations: 0 / 0.5716 GB, free: 8.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.3853, allocations: 4.852 MB / 0.5764 GB, free: 3.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 3.938 kB / 0.5764 GB, free: 3.801 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable t_new.y[3] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable t_new.y[3] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.702125248033553]