Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007458/0.0007458, allocations: 90.02 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3008/0.3008, allocations: 43.57 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 16 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09715, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001711/0.09889, allocations: 1.394 MB / 492.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.09998, allocations: 0.7461 MB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.1001, allocations: 0 / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.1003, allocations: 43.81 kB / 493.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.1005, allocations: 51.81 kB / 493.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1007, allocations: 71.84 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1009, allocations: 83.7 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.962e-05/0.1009, allocations: 16.2 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.101, allocations: 39.84 kB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.898e-05/0.1011, allocations: 27.8 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1011, allocations: 4 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.1012, allocations: 39.98 kB / 493.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.1012, allocations: 23.84 kB / 493.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.1013, allocations: 65.44 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1014, allocations: 88.09 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1015, allocations: 0 / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1015, allocations: 3.984 kB / 493.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1015, allocations: 4 kB / 493.6 MB, free: 7.824 MB / 378.7 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.0004267/0.1019, allocations: 395.1 kB / 494 MB, free: 7.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.1019, allocations: 12.03 kB / 494 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.102, allocations: 30.75 kB / 494.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.102, allocations: 12.75 kB / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.1022, allocations: 227.9 kB / 494.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1022, allocations: 4.375 kB / 494.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1023, allocations: 7.875 kB / 494.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1024, allocations: 53.67 kB / 494.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1024, allocations: 0 / 494.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1024, allocations: 7.984 kB / 494.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1024, allocations: 0 / 494.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.1025, allocations: 15.98 kB / 494.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.1028, allocations: 296.8 kB / 494.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.103, allocations: 54.62 kB / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.103, allocations: 24.78 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.1031, allocations: 0 / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.1032, allocations: 71.39 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1032, allocations: 0 / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004687/0.1037, allocations: 189.1 kB / 495 MB, free: 6.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.1037, allocations: 51.41 kB / 495.1 MB, free: 6.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1039, allocations: 222.6 kB / 495.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.104, allocations: 29.7 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.104, allocations: 104.1 kB / 495.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1041, allocations: 27.64 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.1041, allocations: 8 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.1042, allocations: 322.8 kB / 495.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.1042, allocations: 23.94 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.1043, allocations: 37.69 kB / 495.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1044, allocations: 53.7 kB / 495.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1044, allocations: 0 / 495.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.1046, allocations: 109.4 kB / 496 MB, free: 5.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1046, allocations: 10.48 kB / 496 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1046, allocations: 0 / 496 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1046, allocations: 4 kB / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.1047, allocations: 12 kB / 496 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1047, allocations: 0 / 496 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.1048, allocations: 7.938 kB / 496 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1048, allocations: 15.92 kB / 496 MB, free: 5.191 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.866e-05/0.1049, allocations: 129.5 kB / 496.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.1049, allocations: 7.906 kB / 496.2 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.105, allocations: 25.39 kB / 496.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.105, allocations: 0 / 496.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.105, allocations: 3.938 kB / 496.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.105, allocations: 3.938 kB / 496.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.1054, allocations: 395.3 kB / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1054, allocations: 0 / 496.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.1054, allocations: 12.03 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1054, allocations: 7.938 kB / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1055, allocations: 0 / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1055, allocations: 240 / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1055, allocations: 4.188 kB / 496.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1057, allocations: 208.1 kB / 496.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.1057, allocations: 96.84 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1058, allocations: 7.938 kB / 496.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.1058, allocations: 8 kB / 496.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.1059, allocations: 3.984 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1059, allocations: 4 kB / 496.9 MB, free: 4.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.106, allocations: 176.3 kB / 497.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.106, allocations: 0 / 497.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.1063, allocations: 20 kB / 497.1 MB, free: 4 MB / 378.7 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/0.1075, allocations: 1.099 MB / 498.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.1076, allocations: 55.92 kB / 498.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1077, allocations: 0 / 498.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.229e-05/0.1077, allocations: 27.98 kB / 498.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.108, allocations: 23.98 kB / 498.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1091, allocations: 0.8213 MB / 499.1 MB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1094, allocations: 0.7122 MB / 499.8 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.1095, allocations: 35.42 kB / 499.9 MB, free: 1.16 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.1095, allocations: 0 / 499.9 MB, free: 1.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.011/3.121, allocations: 2.379 MB / 0.4905 GB, free: 42.1 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches