Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001893/0.001893, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002224/0.002224, allocations: 205.7 kB / 23.72 MB, free: 4.391 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.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2272/0.2272, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 83.86 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3703, allocations: 66.08 MB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003736/0.3741, allocations: 1.72 MB / 0.5624 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.3759, allocations: 0.9748 MB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.376, allocations: 0 / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.3764, allocations: 55.75 kB / 0.5634 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.3767, allocations: 99.59 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.3769, allocations: 83.66 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3771, allocations: 103.7 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3772, allocations: 5.828 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.3773, allocations: 39.8 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.3774, allocations: 43.7 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.3774, allocations: 4 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.3775, allocations: 39.98 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.3776, allocations: 35.91 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.3776, allocations: 27.75 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.3779, allocations: 147.3 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3779, allocations: 0 / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3779, allocations: 0 / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3779, allocations: 0 / 0.564 GB, free: 0.6523 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.0006376/0.3786, allocations: 377.3 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3786, allocations: 8.031 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.3786, allocations: 38.75 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.3787, allocations: 12.84 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.379, allocations: 159.3 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.379, allocations: 4.438 kB / 0.5646 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.379, allocations: 8.359 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3792, allocations: 61.67 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3792, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.3792, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3792, allocations: 4 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.3793, allocations: 15.98 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.3798, allocations: 275.9 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.38, allocations: 62.62 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.38, allocations: 20.84 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3801, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.3802, allocations: 67.39 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3802, allocations: 0 / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005955/0.3808, allocations: 193.2 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3809, allocations: 59.41 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.3812, allocations: 274.8 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.3812, allocations: 25.7 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.3813, allocations: 128.1 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.3813, allocations: 27.78 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.3814, allocations: 17.72 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3816, allocations: 338.8 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.3816, allocations: 20 kB / 0.5661 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.3817, allocations: 37.64 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3818, allocations: 57.7 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3818, allocations: 0 / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002158/0.382, allocations: 121.8 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.382, allocations: 8 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.382, allocations: 0 / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3821, allocations: 0 / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3822, allocations: 23.98 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3822, allocations: 160 / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3822, allocations: 4 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3822, allocations: 7.984 kB / 0.5664 GB, free: 14.03 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.000132/0.3824, allocations: 141.7 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3824, allocations: 15.91 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.3826, allocations: 123.1 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3827, allocations: 7.922 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3827, allocations: 0 / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3827, allocations: 0 / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.3832, allocations: 374.4 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3832, allocations: 4 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.3832, allocations: 15.98 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3832, allocations: 0 / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3832, allocations: 4 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3832, allocations: 3.969 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3832, allocations: 4 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3835, allocations: 220.4 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.3835, allocations: 19.88 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3836, allocations: 8 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.3836, allocations: 7.875 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3837, allocations: 7.984 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3837, allocations: 4 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3839, allocations: 208.6 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3839, allocations: 0 / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3842, allocations: 31.89 kB / 0.5675 GB, free: 12.76 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 (9): * Single equations (assignments): 7 * 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.002377/0.3865, allocations: 1.122 MB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3867, allocations: 63.86 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3867, allocations: 4.062 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.3868, allocations: 27.92 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3872, allocations: 35.72 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.3893, allocations: 1.851 MB / 0.5706 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.3895, allocations: 101.2 kB / 0.5707 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.424e-05/0.3895, allocations: 24.97 kB / 0.5707 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.3896, allocations: 43.42 kB / 0.5707 GB, free: 9.539 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3896, allocations: 0 / 0.5707 GB, free: 9.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.4196, allocations: 4.46 MB / 0.5751 GB, free: 5.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.56, allocations: 11.38 kB / 0.5751 GB, free: 5.098 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.660415193997324]