Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001519/0.001519, allocations: 84.06 kB / 20.5 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.001589/0.001589, allocations: 162.1 kB / 23.74 MB, free: 4.582 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.391/1.391, allocations: 177.1 MB / 204 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 179] 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.2044/0.2044, allocations: 34.26 MB / 294.7 MB, free: 14.67 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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 83.86 kB / 442 MB, free: 5.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3186, allocations: 66.04 MB / 0.4961 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003169/0.3218, allocations: 1.722 MB / 0.4978 GB, free: 52 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.3237, allocations: 0.9684 MB / 0.4987 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.3238, allocations: 0 / 0.4987 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.3242, allocations: 39.77 kB / 0.4988 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.3246, allocations: 99.53 kB / 0.4989 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.3248, allocations: 79.73 kB / 0.4989 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.3251, allocations: 111.6 kB / 0.499 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3252, allocations: 6.109 kB / 0.4991 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3253, allocations: 55.78 kB / 0.4991 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3254, allocations: 39.77 kB / 0.4991 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3255, allocations: 4 kB / 0.4992 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.3256, allocations: 43.98 kB / 0.4992 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.3257, allocations: 27.84 kB / 0.4992 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.3257, allocations: 27.81 kB / 0.4992 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.326, allocations: 115.5 kB / 0.4994 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.326, allocations: 3.984 kB / 0.4994 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.326, allocations: 4 kB / 0.4994 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.326, allocations: 0 / 0.4994 GB, free: 14.43 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.0007277/0.3268, allocations: 341.6 kB / 0.4997 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.3268, allocations: 8.031 kB / 0.4997 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.3269, allocations: 38.67 kB / 0.4997 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.3269, allocations: 12.89 kB / 0.4997 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.3272, allocations: 162.9 kB / 0.4999 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3272, allocations: 384 / 0.4999 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3273, allocations: 384 / 0.4999 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.3274, allocations: 65.8 kB / 0.5 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3274, allocations: 0 / 0.5 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3275, allocations: 0 / 0.5 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3275, allocations: 0 / 0.5 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.3275, allocations: 23.98 kB / 0.5 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.328, allocations: 263.8 kB / 0.5002 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3282, allocations: 54.67 kB / 0.5003 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.3282, allocations: 20.84 kB / 0.5003 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3282, allocations: 3.938 kB / 0.5003 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3284, allocations: 75.33 kB / 0.5004 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3284, allocations: 0 / 0.5004 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006407/0.329, allocations: 185.4 kB / 0.5006 GB, free: 13.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.3291, allocations: 59.34 kB / 0.5006 GB, free: 12.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3293, allocations: 202.3 kB / 0.5008 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3294, allocations: 29.7 kB / 0.5008 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.3294, allocations: 100.1 kB / 0.5009 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.3295, allocations: 27.78 kB / 0.501 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.3295, allocations: 25.7 kB / 0.501 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3297, allocations: 330.8 kB / 0.5013 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.3298, allocations: 20 kB / 0.5013 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.3298, allocations: 41.7 kB / 0.5014 GB, free: 12.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.33, allocations: 57.64 kB / 0.5014 GB, free: 12.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.33, allocations: 0 / 0.5014 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002148/0.3302, allocations: 105.6 kB / 0.5015 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3302, allocations: 8 kB / 0.5015 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3302, allocations: 0 / 0.5015 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3302, allocations: 0 / 0.5015 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.3303, allocations: 23.95 kB / 0.5015 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3303, allocations: 4 kB / 0.5016 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.3304, allocations: 0 / 0.5016 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3304, allocations: 11.94 kB / 0.5016 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.0001171/0.3305, allocations: 126.6 kB / 0.5017 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3305, allocations: 15.91 kB / 0.5017 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.3308, allocations: 123.2 kB / 0.5018 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3308, allocations: 0 / 0.5018 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3308, allocations: 0 / 0.5018 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3308, allocations: 0 / 0.5018 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.3314, allocations: 382.4 kB / 0.5022 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3314, allocations: 288 / 0.5022 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.3314, allocations: 15.98 kB / 0.5022 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3314, allocations: 0 / 0.5022 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3314, allocations: 3.938 kB / 0.5022 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.862e-06/0.3315, allocations: 7.938 kB / 0.5022 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3315, allocations: 0 / 0.5022 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.3317, allocations: 216.2 kB / 0.5024 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.3318, allocations: 7.938 kB / 0.5024 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3318, allocations: 8.031 kB / 0.5024 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.3319, allocations: 8.312 kB / 0.5024 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.3319, allocations: 11.92 kB / 0.5024 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3319, allocations: 4 kB / 0.5025 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.3321, allocations: 152.2 kB / 0.5026 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3321, allocations: 0 / 0.5026 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3324, allocations: 23.94 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.002406/0.3348, allocations: 1.13 MB / 0.5037 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.335, allocations: 67.84 kB / 0.5038 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.335, allocations: 0 / 0.5038 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.335, allocations: 23.98 kB / 0.5038 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3354, allocations: 34.33 kB / 0.5038 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.3374, allocations: 1.681 MB / 0.5055 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3375, allocations: 92.17 kB / 0.5056 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.3376, allocations: 17.27 kB / 0.5056 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.3377, allocations: 40.48 kB / 0.5056 GB, free: 7.758 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3377, allocations: 4 kB / 0.5056 GB, free: 7.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.3682, allocations: 4.246 MB / 0.5098 GB, free: 3.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.06, allocations: 9.828 kB / 0.5098 GB, free: 3.516 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_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_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.979079494252801]