Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001297/0.001297, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001397/0.001397, allocations: 216.8 kB / 24.54 MB, free: 4.02 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.445/1.445, allocations: 230.3 MB / 258 MB, free: 8.23 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.2835/0.2835, allocations: 46.88 MB / 361.3 MB, free: 4.445 MB / 286.1 MB " [Timeout remaining time 179] 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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 75.86 kB / 0.4966 GB, free: 8.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.371, allocations: 66.03 MB / 0.5611 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003294/0.3743, allocations: 1.733 MB / 0.5628 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3762, allocations: 1.053 MB / 0.5638 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.3763, allocations: 4 kB / 0.5638 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.3766, allocations: 39.72 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.3769, allocations: 95.53 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.3771, allocations: 83.66 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3773, allocations: 95.77 kB / 0.5641 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.3774, allocations: 13.95 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3775, allocations: 55.72 kB / 0.5642 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.3776, allocations: 31.78 kB / 0.5642 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.3776, allocations: 4 kB / 0.5642 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3778, allocations: 43.97 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.3778, allocations: 15.94 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.3779, allocations: 39.73 kB / 0.5643 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3781, allocations: 119.4 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3781, allocations: 0 / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3781, allocations: 0 / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3781, allocations: 4 kB / 0.5645 GB, free: 1.223 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006259/0.3787, allocations: 422.7 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3788, allocations: 11.97 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.3788, allocations: 30.75 kB / 0.5649 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.3788, allocations: 16.84 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3792, allocations: 213.5 kB / 0.5651 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3792, allocations: 4.375 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3792, allocations: 4.375 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3794, allocations: 61.8 kB / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3794, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3794, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3794, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.3795, allocations: 23.92 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.3799, allocations: 284.9 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.3801, allocations: 54.67 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.3801, allocations: 20.84 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3802, allocations: 4 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.3803, allocations: 67.33 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3803, allocations: 0 / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005833/0.3809, allocations: 177.3 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.381, allocations: 59.41 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3812, allocations: 175.3 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3812, allocations: 25.7 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.3813, allocations: 108.1 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.3813, allocations: 27.83 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.3813, allocations: 17.72 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3815, allocations: 326.8 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.3815, allocations: 23.98 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.3816, allocations: 37.7 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3817, allocations: 61.66 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3817, allocations: 0 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.3819, allocations: 101.6 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.382, allocations: 7.938 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.382, allocations: 4.188 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.382, allocations: 4.031 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.3821, allocations: 19.92 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3821, allocations: 3.938 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.3821, allocations: 4 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3821, allocations: 8 kB / 0.5668 GB, free: 14.61 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 (10): * Single equations (assignments): 10 * 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.0001325/0.3823, allocations: 131.4 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3823, allocations: 8.328 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.3826, allocations: 127.1 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3826, allocations: 4 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3826, allocations: 4 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.3826, allocations: 7.984 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.3831, allocations: 387.3 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3831, allocations: 0 / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.3831, allocations: 8 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3831, allocations: 4 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3831, allocations: 3.984 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3831, allocations: 3.938 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3831, allocations: 4.031 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3834, allocations: 204.3 kB / 0.5676 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.3834, allocations: 89.02 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3835, allocations: 4 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.3835, allocations: 7.922 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3836, allocations: 8 kB / 0.5677 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3836, allocations: 8 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.3837, allocations: 136.9 kB / 0.5679 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3837, allocations: 4 kB / 0.5679 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000251/0.384, allocations: 20 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002067/0.386, allocations: 1.08 MB / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3862, allocations: 63.83 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3862, allocations: 64 / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.3863, allocations: 31.98 kB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3867, allocations: 31.47 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3886, allocations: 1.638 MB / 0.5707 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3889, allocations: 0.7041 MB / 0.5713 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.389, allocations: 8.984 kB / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/0.389, allocations: 35.42 kB / 0.5714 GB, free: 9.777 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.389, allocations: 0 / 0.5714 GB, free: 9.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.4149, allocations: 3.467 MB / 0.5748 GB, free: 6.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.232, allocations: 15.17 kB / 0.5748 GB, free: 6.305 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.334393909899518]