Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2462/0.2462, allocations: 46.94 MB / 361.7 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.91 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4083, allocations: 66.03 MB / 0.5615 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004111/0.4124, allocations: 1.936 MB / 0.5634 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.4145, allocations: 1.151 MB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4146, allocations: 4 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.415, allocations: 163.5 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.4155, allocations: 183.3 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.4158, allocations: 119.6 kB / 0.565 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.4162, allocations: 247.3 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.4163, allocations: 23.92 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.4165, allocations: 119.5 kB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.4167, allocations: 147.5 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.4167, allocations: 8 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.4168, allocations: 63.98 kB / 0.5655 GB, free: 280 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.4169, allocations: 55.77 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.417, allocations: 79.36 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.4174, allocations: 226.9 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4174, allocations: 0 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4174, allocations: 0 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.4174, allocations: 4 kB / 0.5659 GB, free: 15.91 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00083/0.4182, allocations: 480.5 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4183, allocations: 12.03 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/0.4183, allocations: 4.125 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.4184, allocations: 46.73 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.4184, allocations: 28.75 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.4189, allocations: 218.5 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.4189, allocations: 12.12 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.4189, allocations: 4 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.4192, allocations: 122.2 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4192, allocations: 7.938 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4192, allocations: 4 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4192, allocations: 0 / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.4194, allocations: 43.97 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.42, allocations: 447.8 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.4204, allocations: 105.2 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4205, allocations: 49.75 kB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.4205, allocations: 4 kB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.4208, allocations: 129 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.4208, allocations: 0 / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001303/0.4221, allocations: 497.6 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.4222, allocations: 85.05 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.4226, allocations: 376.5 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.4226, allocations: 29.7 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4227, allocations: 144.5 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.4228, allocations: 83.36 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.4228, allocations: 41.7 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.4231, allocations: 338.8 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4232, allocations: 59.97 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4234, allocations: 99.28 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.4237, allocations: 159.5 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4237, allocations: 0 / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004215/0.4241, allocations: 237.2 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4241, allocations: 4 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4241, allocations: 4 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4241, allocations: 4 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4243, allocations: 47.97 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4243, allocations: 0 / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.4244, allocations: 4 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.4244, allocations: 12 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001625/0.4246, allocations: 166.3 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.4246, allocations: 35.75 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/0.4251, allocations: 255.6 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4251, allocations: 0 / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.4251, allocations: 4 kB / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4251, allocations: 0 / 0.5701 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/0.4261, allocations: 0.695 MB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4261, allocations: 4 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.4262, allocations: 36.11 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4262, allocations: 0 / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4262, allocations: 7.938 kB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.4262, allocations: 8.219 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4262, allocations: 3.938 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.4268, allocations: 423.5 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.4268, allocations: 27.84 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.4268, allocations: 12 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.427, allocations: 4 kB / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.427, allocations: 27.89 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.4271, allocations: 11.98 kB / 0.5713 GB, free: 9.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003118/0.4274, allocations: 275 kB / 0.5716 GB, free: 9.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4274, allocations: 0 / 0.5716 GB, free: 9.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.4277, allocations: 47.94 kB / 0.5716 GB, free: 9.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002852/0.4306, allocations: 1.388 MB / 0.573 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.4309, allocations: 150 kB / 0.5731 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.431, allocations: 8 kB / 0.5731 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.4311, allocations: 71.84 kB / 0.5732 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.4317, allocations: 52.41 kB / 0.5732 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.4352, allocations: 2.712 MB / 0.5759 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.4358, allocations: 0.7636 MB / 0.5766 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.436, allocations: 45.91 kB / 0.5767 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.4361, allocations: 87.34 kB / 0.5768 GB, free: 4.434 MB / 414.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4361, allocations: 0 / 0.5768 GB, free: 4.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.4653, allocations: 6.371 MB / 0.583 GB, free: 14.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.91, allocations: 18.3 kB / 0.583 GB, free: 14.14 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.096478573977947]