Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",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.00103/0.00103, allocations: 175.2 kB / 16.72 MB, free: 5.082 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.341/1.341, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.000737/0.0007372, allocations: 97.05 kB / 271.2 MB, free: 8.25 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.3025/0.3025, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 12 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1069, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002126/0.1091, allocations: 1.526 MB / 492.5 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1104, allocations: 0.8318 MB / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1106, allocations: 7.938 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004508/0.1111, allocations: 243.5 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1114, allocations: 167.5 kB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.1118, allocations: 135.7 kB / 493.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.1122, allocations: 203.3 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1123, allocations: 29.53 kB / 494.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1125, allocations: 107.6 kB / 494.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1127, allocations: 151.5 kB / 494.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1127, allocations: 8 kB / 494.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1129, allocations: 31.98 kB / 494.4 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.113, allocations: 55.77 kB / 494.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.1131, allocations: 105.1 kB / 494.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1133, allocations: 163.9 kB / 494.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1133, allocations: 0 / 494.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1133, allocations: 3.938 kB / 494.7 MB, free: 7.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1133, allocations: 0 / 494.7 MB, free: 7.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000695/0.114, allocations: 0.5215 MB / 495.2 MB, free: 6.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1141, allocations: 8.031 kB / 495.2 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.1141, allocations: 38.73 kB / 495.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.1142, allocations: 36.56 kB / 495.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1145, allocations: 287.9 kB / 495.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1145, allocations: 4.375 kB / 495.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1145, allocations: 11.92 kB / 495.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1148, allocations: 91.36 kB / 495.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1148, allocations: 4 kB / 495.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1148, allocations: 8 kB / 495.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1148, allocations: 3.984 kB / 495.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1149, allocations: 39.91 kB / 495.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.1154, allocations: 452.9 kB / 496.2 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1157, allocations: 113.3 kB / 496.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.1158, allocations: 37.7 kB / 496.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1159, allocations: 7.984 kB / 496.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.1161, allocations: 117 kB / 496.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1161, allocations: 0 / 496.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008594/0.117, allocations: 371.7 kB / 496.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1171, allocations: 92.97 kB / 496.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.1175, allocations: 477.7 kB / 497.3 MB, free: 4.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1175, allocations: 33.7 kB / 497.4 MB, free: 4.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.1176, allocations: 160.4 kB / 497.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.1177, allocations: 51.34 kB / 497.6 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.1177, allocations: 7.938 kB / 497.6 MB, free: 3.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1179, allocations: 342.8 kB / 497.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-05/0.118, allocations: 43.91 kB / 498 MB, free: 3.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1181, allocations: 75.41 kB / 498 MB, free: 3.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.1183, allocations: 115.4 kB / 498.2 MB, free: 3.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1183, allocations: 0 / 498.2 MB, free: 3.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003163/0.1186, allocations: 181.4 kB / 498.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1187, allocations: 11.59 kB / 498.3 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1187, allocations: 4.062 kB / 498.4 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1187, allocations: 4 kB / 498.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1188, allocations: 35.86 kB / 498.4 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1188, allocations: 4.062 kB / 498.4 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.1189, allocations: 12.75 kB / 498.4 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1189, allocations: 4 kB / 498.4 MB, free: 2.992 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001494/0.1191, allocations: 181.7 kB / 498.6 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.1191, allocations: 27.62 kB / 498.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.1192, allocations: 38.81 kB / 498.7 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.1192, allocations: 7.938 kB / 498.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1192, allocations: 0 / 498.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1192, allocations: 0 / 498.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.1199, allocations: 0.6358 MB / 499.3 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.12, allocations: 0 / 499.3 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.12, allocations: 24.05 kB / 499.3 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.12, allocations: 4 kB / 499.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1201, allocations: 0 / 499.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1201, allocations: 7.984 kB / 499.3 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1201, allocations: 0 / 499.3 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1204, allocations: 371.2 kB / 499.7 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.1205, allocations: 104.7 kB / 499.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.1206, allocations: 11.98 kB / 499.8 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1207, allocations: 4 kB / 499.8 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.1208, allocations: 15.98 kB / 499.8 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.1208, allocations: 8 kB / 499.8 MB, free: 1.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.1211, allocations: 359.1 kB / 0.4885 GB, free: 1.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1211, allocations: 4 kB / 0.4885 GB, free: 1.098 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.1215, allocations: 40 kB / 0.4885 GB, free: 1.059 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.1504/0.2719, allocations: 1.258 MB / 0.4897 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.2723, allocations: 117.6 kB / 0.4898 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2723, allocations: 0 / 0.4898 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.2724, allocations: 56.36 kB / 0.4899 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.273, allocations: 57.19 kB / 0.49 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.275, allocations: 1.663 MB / 0.4916 GB, free: 42.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2752, allocations: 0.7738 MB / 0.4923 GB, free: 41.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2753, allocations: 89.83 kB / 0.4924 GB, free: 41.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2753, allocations: 0 / 0.4924 GB, free: 41.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.741/3.017, allocations: 4.33 MB / 0.4966 GB, free: 41.38 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches