Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.001336/0.001336, allocations: 80.53 kB / 20.49 MB, free: 1.387 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.001437/0.001437, allocations: 162.5 kB / 23.74 MB, free: 4.578 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.41/1.41, allocations: 177.1 MB / 204 MB, free: 9.223 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.2322/0.2322, allocations: 34.26 MB / 294.7 MB, free: 14.61 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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 91.8 kB / 442 MB, free: 5.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2813, allocations: 66.04 MB / 0.4961 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003124/0.2844, allocations: 1.721 MB / 0.4978 GB, free: 12 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.2863, allocations: 0.9701 MB / 0.4987 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.2863, allocations: 4 kB / 0.4987 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.2866, allocations: 35.77 kB / 0.4988 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.2869, allocations: 95.55 kB / 0.4989 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.2871, allocations: 79.67 kB / 0.4989 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.2873, allocations: 111.7 kB / 0.499 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.2874, allocations: 6.109 kB / 0.499 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2875, allocations: 63.75 kB / 0.4991 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.2876, allocations: 27.8 kB / 0.4991 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2876, allocations: 4 kB / 0.4991 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.546e-05/0.2877, allocations: 47.91 kB / 0.4992 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.2877, allocations: 19.92 kB / 0.4992 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.2878, allocations: 31.86 kB / 0.4992 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.288, allocations: 119.4 kB / 0.4993 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.288, allocations: 0 / 0.4993 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.288, allocations: 4 kB / 0.4993 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.288, allocations: 0 / 0.4993 GB, free: 14.4 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.0005262/0.2885, allocations: 337.6 kB / 0.4997 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2886, allocations: 12.03 kB / 0.4997 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.2886, allocations: 34.69 kB / 0.4997 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.2886, allocations: 12.84 kB / 0.4997 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.2889, allocations: 151.2 kB / 0.4999 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2889, allocations: 384 / 0.4999 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.2889, allocations: 4.375 kB / 0.4999 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2891, allocations: 57.8 kB / 0.4999 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2891, allocations: 4 kB / 0.4999 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2891, allocations: 3.984 kB / 0.4999 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2891, allocations: 4 kB / 0.4999 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.2892, allocations: 15.98 kB / 0.5 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.2895, allocations: 255.9 kB / 0.5002 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.2897, allocations: 58.67 kB / 0.5003 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.2898, allocations: 20.8 kB / 0.5003 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.2898, allocations: 7.984 kB / 0.5003 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.29, allocations: 75.31 kB / 0.5004 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.29, allocations: 0 / 0.5004 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005623/0.2905, allocations: 193.3 kB / 0.5005 GB, free: 13.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.2906, allocations: 59.34 kB / 0.5006 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.2908, allocations: 187.3 kB / 0.5008 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2908, allocations: 25.7 kB / 0.5008 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.2909, allocations: 100.1 kB / 0.5009 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.2909, allocations: 23.84 kB / 0.5009 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.291, allocations: 21.72 kB / 0.5009 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2911, allocations: 330.8 kB / 0.5013 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.2912, allocations: 23.98 kB / 0.5013 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.2913, allocations: 37.7 kB / 0.5013 GB, free: 12.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.2914, allocations: 61.64 kB / 0.5014 GB, free: 12.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2914, allocations: 0 / 0.5014 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.2916, allocations: 105.6 kB / 0.5015 GB, free: 12.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2916, allocations: 4 kB / 0.5015 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2916, allocations: 4 kB / 0.5015 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2916, allocations: 0 / 0.5015 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.2917, allocations: 15.97 kB / 0.5015 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2917, allocations: 4 kB / 0.5015 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.2918, allocations: 7.984 kB / 0.5015 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2918, allocations: 4 kB / 0.5015 GB, free: 11.97 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.000108/0.2919, allocations: 133.7 kB / 0.5016 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2919, allocations: 7.953 kB / 0.5016 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.2922, allocations: 131.1 kB / 0.5018 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2922, allocations: 4 kB / 0.5018 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2922, allocations: 0 / 0.5018 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2922, allocations: 0 / 0.5018 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.2927, allocations: 374.6 kB / 0.5021 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2927, allocations: 4 kB / 0.5021 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.2927, allocations: 12 kB / 0.5021 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2928, allocations: 3.938 kB / 0.5021 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2928, allocations: 0 / 0.5021 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.2928, allocations: 11.88 kB / 0.5022 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2928, allocations: 0 / 0.5022 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.293, allocations: 216.2 kB / 0.5024 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.2931, allocations: 7.953 kB / 0.5024 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2931, allocations: 8.031 kB / 0.5024 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.2932, allocations: 8.312 kB / 0.5024 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.2932, allocations: 7.922 kB / 0.5024 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2932, allocations: 4 kB / 0.5024 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.2933, allocations: 143.9 kB / 0.5025 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2933, allocations: 4 kB / 0.5025 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.2936, allocations: 20 kB / 0.5026 GB, free: 10.8 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.002468/0.2961, allocations: 1.125 MB / 0.5037 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.2963, allocations: 63.83 kB / 0.5037 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2963, allocations: 0 / 0.5037 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.2963, allocations: 35.92 kB / 0.5038 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2967, allocations: 27.42 kB / 0.5038 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.2986, allocations: 1.655 MB / 0.5054 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.381e-05/0.2987, allocations: 88.31 kB / 0.5055 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.2987, allocations: 17.27 kB / 0.5055 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.2988, allocations: 36.48 kB / 0.5055 GB, free: 7.805 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2988, allocations: 4 kB / 0.5055 GB, free: 7.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.33, allocations: 4.197 MB / 0.5096 GB, free: 3.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.15, allocations: 0 / 0.5096 GB, free: 3.617 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.043332615867257]