Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.0009388/0.0009388, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001103/0.001103, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8422/0.8422, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1365/0.1365, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.179e-05, allocations: 2.281 kB / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002102/0.002124, allocations: 1.545 MB / 408.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004889/0.002613, allocations: 323.4 kB / 408.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.002661, allocations: 0 / 408.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.002973, allocations: 103.7 kB / 408.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.003156, allocations: 71.67 kB / 408.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.003402, allocations: 79.81 kB / 409 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.003555, allocations: 75.75 kB / 409 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.003649, allocations: 15.92 kB / 409.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.00371, allocations: 43.89 kB / 409.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.282e-05/0.003793, allocations: 51.88 kB / 409.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.003809, allocations: 4 kB / 409.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.003872, allocations: 23.98 kB / 409.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.003916, allocations: 19.92 kB / 409.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.003941, allocations: 15.94 kB / 409.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.004088, allocations: 95.64 kB / 409.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004091, allocations: 0 / 409.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004092, allocations: 3.938 kB / 409.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004096, allocations: 0 / 409.3 MB, free: 11.03 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003619/0.004458, allocations: 333.6 kB / 409.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.0045, allocations: 8.031 kB / 409.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.004536, allocations: 38.73 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.004568, allocations: 12.84 kB / 409.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.004718, allocations: 135.5 kB / 409.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.00473, allocations: 8.359 kB / 409.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.004748, allocations: 384 / 409.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.004859, allocations: 46.25 kB / 409.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.004872, allocations: 7.922 kB / 409.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.00488, allocations: 0 / 409.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004884, allocations: 4 kB / 409.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.004956, allocations: 27.92 kB / 409.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.005284, allocations: 267.9 kB / 410.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.00548, allocations: 38.56 kB / 410.2 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.005527, allocations: 24.94 kB / 410.2 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.005551, allocations: 3.938 kB / 410.2 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.005569, allocations: 30.56 kB / 410.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.00557, allocations: 0 / 410.3 MB, free: 9.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003917/0.005961, allocations: 165.4 kB / 410.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.005991, allocations: 51.41 kB / 410.5 MB, free: 9.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.006134, allocations: 219.8 kB / 410.7 MB, free: 9.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.006144, allocations: 25.7 kB / 410.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.00619, allocations: 104.1 kB / 410.8 MB, free: 9.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.006209, allocations: 19.84 kB / 410.9 MB, free: 9.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.006238, allocations: 21.7 kB / 410.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.00632, allocations: 326.8 kB / 411.2 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.006358, allocations: 27.92 kB / 411.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.006389, allocations: 19.98 kB / 411.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.006474, allocations: 52.83 kB / 411.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.006475, allocations: 0 / 411.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001286/0.006603, allocations: 93.5 kB / 411.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.006616, allocations: 8 kB / 411.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006621, allocations: 0 / 411.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.006631, allocations: 4 kB / 411.4 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.231e-05/0.006663, allocations: 11.98 kB / 411.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.006669, allocations: 4 kB / 411.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.006688, allocations: 0 / 411.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.006693, allocations: 4 kB / 411.4 MB, free: 8.734 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.468e-05/0.006758, allocations: 129.8 kB / 411.5 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.006774, allocations: 7.953 kB / 411.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.006914, allocations: 106.7 kB / 411.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006916, allocations: 7.938 kB / 411.7 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006919, allocations: 4 kB / 411.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006922, allocations: 0 / 411.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.007188, allocations: 325.9 kB / 412 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007189, allocations: 0 / 412 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.007218, allocations: 15.98 kB / 412 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00722, allocations: 0 / 412 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.007226, allocations: 0 / 412 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007227, allocations: 0 / 412 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007228, allocations: 4 kB / 412 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.007352, allocations: 195.3 kB / 412.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.007359, allocations: 3.953 kB / 412.2 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.007372, allocations: 8 kB / 412.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.239e-05/0.007404, allocations: 0 / 412.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.007437, allocations: 12.2 kB / 412.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.00744, allocations: 0 / 412.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.662e-05/0.007526, allocations: 171.5 kB / 412.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007526, allocations: 0 / 412.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.007692, allocations: 19.98 kB / 412.4 MB, free: 7.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008657/0.008557, allocations: 1.055 MB / 413.5 MB, free: 6.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.008675, allocations: 47.95 kB / 413.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008676, allocations: 0 / 413.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.008716, allocations: 31.92 kB / 413.5 MB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.008953, allocations: 27.92 kB / 413.6 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.01008, allocations: 1.608 MB / 415.2 MB, free: 4.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.243e-05/0.01015, allocations: 92.31 kB / 415.3 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01019, allocations: 19.77 kB / 415.3 MB, free: 4.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.01024, allocations: 32.48 kB / 415.3 MB, free: 4.676 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01025, allocations: 0 / 415.3 MB, free: 4.676 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.02479, allocations: 3.552 MB / 418.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.165, allocations: 4.062 kB / 418.9 MB, free: 1.008 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.212754751555622]