Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001656/0.001656, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001461/0.001461, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2311/0.2311, allocations: 46.95 MB / 360.8 MB, free: 3.914 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 79.86 kB / 0.4962 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3649, allocations: 66.08 MB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003296/0.3682, allocations: 1.714 MB / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.3709, allocations: 1.664 MB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.371, allocations: 0 / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.3713, allocations: 35.78 kB / 0.5641 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.3716, allocations: 99.53 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3719, allocations: 83.66 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3721, allocations: 111.7 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3722, allocations: 25.73 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.3722, allocations: 39.8 kB / 0.5644 GB, free: 232 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3724, allocations: 47.77 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.3724, allocations: 8 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3726, allocations: 99.94 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.3726, allocations: 31.84 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.3727, allocations: 31.8 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.373, allocations: 179.4 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.373, allocations: 0 / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.373, allocations: 0 / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.373, allocations: 0 / 0.5648 GB, free: 15.83 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006751/0.3737, allocations: 365.4 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3737, allocations: 12.03 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.3738, allocations: 38.69 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.3738, allocations: 8.891 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3742, allocations: 150.4 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3742, allocations: 8.359 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3742, allocations: 384 / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.3744, allocations: 113.2 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3745, allocations: 3.953 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3745, allocations: 0 / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3745, allocations: 4 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3746, allocations: 35.91 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.3751, allocations: 267.9 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3753, allocations: 74.67 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.3754, allocations: 28.83 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3754, allocations: 0 / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.3755, allocations: 83.31 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3755, allocations: 0 / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006193/0.3762, allocations: 209.8 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.3762, allocations: 81.11 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.3764, allocations: 178.2 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3764, allocations: 29.7 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3765, allocations: 100.1 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.3765, allocations: 39.73 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.3766, allocations: 21.72 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3767, allocations: 322.8 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.3768, allocations: 27.98 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.3769, allocations: 80.2 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.377, allocations: 81.66 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.377, allocations: 0 / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.3773, allocations: 125.5 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3773, allocations: 4 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3773, allocations: 4 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3773, allocations: 0 / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.3774, allocations: 19.92 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3774, allocations: 4 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.3775, allocations: 0 / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3775, allocations: 8.078 kB / 0.5672 GB, free: 13.12 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 (11): * Single equations (assignments): 11 * 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.000142/0.3776, allocations: 124.5 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3776, allocations: 11.94 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.3779, allocations: 146.3 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.3779, allocations: 4 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.378, allocations: 7.922 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.378, allocations: 0 / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.3785, allocations: 402.3 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3785, allocations: 0 / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.3786, allocations: 15.98 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3786, allocations: 4 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3786, allocations: 0 / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3786, allocations: 7.969 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.3786, allocations: 7.938 kB / 0.5679 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3789, allocations: 224.3 kB / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.3789, allocations: 11.91 kB / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.379, allocations: 4.188 kB / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.3791, allocations: 15.92 kB / 0.5682 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.3791, allocations: 11.92 kB / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3791, allocations: 4 kB / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3792, allocations: 135.2 kB / 0.5683 GB, free: 11.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3792, allocations: 3.938 kB / 0.5683 GB, free: 11.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.3796, allocations: 55.86 kB / 0.5684 GB, free: 11.86 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 (11): * Single equations (assignments): 9 * 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.002652/0.3822, allocations: 1.234 MB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.3824, allocations: 75.72 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3824, allocations: 4.062 kB / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3825, allocations: 47.91 kB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3829, allocations: 27.36 kB / 0.5697 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3849, allocations: 1.693 MB / 0.5714 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.385, allocations: 88.19 kB / 0.5715 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.251e-05/0.3851, allocations: 24.7 kB / 0.5715 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.3852, allocations: 43.36 kB / 0.5715 GB, free: 8.699 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3852, allocations: 0 / 0.5715 GB, free: 8.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.4187, allocations: 4.981 MB / 0.5764 GB, free: 3.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.6, allocations: 10.98 kB / 0.5764 GB, free: 3.719 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_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_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.899639987386763]