Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001696/0.001696, allocations: 80.02 kB / 20.49 MB, free: 1.211 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.001474/0.001474, allocations: 164.7 kB / 23.75 MB, free: 4.234 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.554/1.554, allocations: 177.1 MB / 204 MB, free: 9.238 MB / 190.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.2168/0.2168, allocations: 34.26 MB / 294.7 MB, free: 14.62 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 83.88 kB / 442 MB, free: 5.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4203, allocations: 66.05 MB / 0.4961 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004146/0.4244, allocations: 1.714 MB / 0.4978 GB, free: 20 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.4264, allocations: 0.9777 MB / 0.4987 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.4265, allocations: 4 kB / 0.4987 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.4268, allocations: 35.77 kB / 0.4988 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.4272, allocations: 91.61 kB / 0.4989 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.4274, allocations: 83.66 kB / 0.4989 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.4276, allocations: 107.6 kB / 0.499 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4277, allocations: 14.08 kB / 0.4991 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.4279, allocations: 51.78 kB / 0.4991 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.428, allocations: 27.86 kB / 0.4991 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.428, allocations: 4 kB / 0.4991 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.4281, allocations: 47.97 kB / 0.4992 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.4281, allocations: 23.92 kB / 0.4992 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.4282, allocations: 31.8 kB / 0.4992 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.4285, allocations: 115.4 kB / 0.4993 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4285, allocations: 0 / 0.4993 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4285, allocations: 0 / 0.4993 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4285, allocations: 0 / 0.4993 GB, free: 14.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006385/0.4291, allocations: 337.6 kB / 0.4997 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4292, allocations: 12.03 kB / 0.4997 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.4292, allocations: 30.75 kB / 0.4997 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.4293, allocations: 8.891 kB / 0.4997 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.4296, allocations: 150.4 kB / 0.4999 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.4297, allocations: 384 / 0.4999 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.4297, allocations: 4.375 kB / 0.4999 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.4299, allocations: 61.73 kB / 0.4999 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4299, allocations: 0 / 0.4999 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4299, allocations: 0 / 0.4999 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4299, allocations: 0 / 0.4999 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.392e-05/0.43, allocations: 19.98 kB / 0.4999 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.4304, allocations: 259.9 kB / 0.5002 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4306, allocations: 66.55 kB / 0.5003 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.4307, allocations: 32.77 kB / 0.5003 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4307, allocations: 0 / 0.5003 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.4309, allocations: 67.39 kB / 0.5003 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4309, allocations: 0 / 0.5003 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006352/0.4316, allocations: 185.6 kB / 0.5005 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4316, allocations: 51.41 kB / 0.5006 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.4318, allocations: 176 kB / 0.5007 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.4319, allocations: 29.7 kB / 0.5008 GB, free: 12.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.4319, allocations: 112.1 kB / 0.5009 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.432, allocations: 23.8 kB / 0.5009 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.432, allocations: 25.7 kB / 0.5009 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.4322, allocations: 322.8 kB / 0.5012 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.4323, allocations: 20 kB / 0.5013 GB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.4324, allocations: 41.64 kB / 0.5013 GB, free: 12.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4325, allocations: 61.7 kB / 0.5014 GB, free: 12.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4325, allocations: 0 / 0.5014 GB, free: 12.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002313/0.4328, allocations: 101.5 kB / 0.5014 GB, free: 12.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4328, allocations: 15 kB / 0.5015 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4328, allocations: 0 / 0.5015 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4328, allocations: 0 / 0.5015 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4329, allocations: 23.98 kB / 0.5015 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4329, allocations: 0 / 0.5015 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.433, allocations: 0 / 0.5015 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.433, allocations: 4 kB / 0.5015 GB, free: 12.01 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.0001315/0.4331, allocations: 128.4 kB / 0.5016 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.4331, allocations: 11.94 kB / 0.5016 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.4334, allocations: 134.5 kB / 0.5018 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4334, allocations: 4 kB / 0.5018 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4334, allocations: 0 / 0.5018 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4334, allocations: 288 / 0.5018 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.434, allocations: 366.4 kB / 0.5021 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.434, allocations: 0 / 0.5021 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.434, allocations: 11.94 kB / 0.5021 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.434, allocations: 4 kB / 0.5021 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4341, allocations: 0 / 0.5021 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4341, allocations: 3.938 kB / 0.5021 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4341, allocations: 11.97 kB / 0.5021 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.4344, allocations: 212.3 kB / 0.5023 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.4344, allocations: 11.91 kB / 0.5023 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.4344, allocations: 4 kB / 0.5024 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.4345, allocations: 7.938 kB / 0.5024 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.4346, allocations: 7.984 kB / 0.5024 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.4346, allocations: 4 kB / 0.5024 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.4347, allocations: 135.2 kB / 0.5025 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4347, allocations: 0 / 0.5025 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.435, allocations: 23.94 kB / 0.5025 GB, free: 10.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 (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.002444/0.4374, allocations: 1.121 MB / 0.5036 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.4376, allocations: 63.83 kB / 0.5037 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4376, allocations: 4.062 kB / 0.5037 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.4377, allocations: 35.92 kB / 0.5037 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.4381, allocations: 31.08 kB / 0.5037 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.4401, allocations: 1.622 MB / 0.5053 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.809e-05/0.4402, allocations: 85.44 kB / 0.5054 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.475e-05/0.4403, allocations: 21.34 kB / 0.5054 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.4404, allocations: 32.48 kB / 0.5055 GB, free: 7.891 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4404, allocations: 4 kB / 0.5055 GB, free: 7.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.4755, allocations: 4.138 MB / 0.5095 GB, free: 3.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.83, allocations: 4 kB / 0.5095 GB, free: 3.754 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.962053548078984]