Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",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.0008513/0.0008513, allocations: 177.2 kB / 16.72 MB, free: 5.078 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.36/1.36, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007484/0.0007482, allocations: 89.36 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.2827/0.2827, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 16 kB / 432.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 58.85 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002057/0.1145, allocations: 1.518 MB / 492.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1157, allocations: 0.8435 MB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.1158, allocations: 0 / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1162, allocations: 159.6 kB / 493.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1164, allocations: 115.6 kB / 493.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1168, allocations: 123.8 kB / 493.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.117, allocations: 183.4 kB / 493.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1171, allocations: 25.55 kB / 493.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1173, allocations: 95.59 kB / 494 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1174, allocations: 103.6 kB / 494.1 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1174, allocations: 4 kB / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.1175, allocations: 28 kB / 494.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.1176, allocations: 51.81 kB / 494.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.1177, allocations: 93.19 kB / 494.3 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1179, allocations: 147.9 kB / 494.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1179, allocations: 0 / 494.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1179, allocations: 0 / 494.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1179, allocations: 0 / 494.4 MB, free: 7.055 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.0005852/0.1185, allocations: 490.3 kB / 494.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1185, allocations: 12.03 kB / 494.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.1186, allocations: 38.75 kB / 494.9 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.1186, allocations: 24.66 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1189, allocations: 271.5 kB / 495.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1189, allocations: 8.359 kB / 495.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.119, allocations: 11.94 kB / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1192, allocations: 91.36 kB / 495.3 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1192, allocations: 3.984 kB / 495.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1192, allocations: 4 kB / 495.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1192, allocations: 4 kB / 495.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1193, allocations: 39.91 kB / 495.4 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.1198, allocations: 440.9 kB / 495.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.12, allocations: 125.2 kB / 495.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.1201, allocations: 37.7 kB / 496 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1202, allocations: 4 kB / 496 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.1204, allocations: 117 kB / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.1204, allocations: 0 / 496.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007971/0.1212, allocations: 356.1 kB / 496.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1213, allocations: 81.05 kB / 496.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.1216, allocations: 355 kB / 496.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1216, allocations: 29.7 kB / 496.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.1217, allocations: 144.4 kB / 497 MB, free: 4.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.1218, allocations: 43.36 kB / 497.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.1218, allocations: 7.938 kB / 497.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1219, allocations: 342.8 kB / 497.4 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.122, allocations: 35.98 kB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1221, allocations: 71.02 kB / 497.5 MB, free: 3.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.1223, allocations: 127.5 kB / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1223, allocations: 0 / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000283/0.1226, allocations: 173.2 kB / 497.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1227, allocations: 8 kB / 497.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1227, allocations: 3.938 kB / 497.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1227, allocations: 64 / 497.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1228, allocations: 43.92 kB / 497.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1228, allocations: 0 / 497.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.1229, allocations: 11.98 kB / 497.9 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1229, allocations: 8 kB / 497.9 MB, free: 3.289 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.0001346/0.1231, allocations: 153.8 kB / 498 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1231, allocations: 23.72 kB / 498.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.1232, allocations: 29.73 kB / 498.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1232, allocations: 3.938 kB / 498.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1232, allocations: 11.98 kB / 498.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1232, allocations: 0 / 498.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.1239, allocations: 0.6085 MB / 498.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1239, allocations: 0.75 kB / 498.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.1239, allocations: 19.98 kB / 498.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1239, allocations: 8.062 kB / 498.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.124, allocations: 4 kB / 498.7 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.124, allocations: 4 kB / 498.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.124, allocations: 7.938 kB / 498.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.1243, allocations: 363.9 kB / 499.1 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.1244, allocations: 108.8 kB / 499.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1244, allocations: 0 / 499.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1246, allocations: 8 kB / 499.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.1246, allocations: 19.91 kB / 499.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.1247, allocations: 12 kB / 499.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002234/0.1249, allocations: 257.9 kB / 499.5 MB, free: 1.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1249, allocations: 3.938 kB / 499.5 MB, free: 1.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.1252, allocations: 40 kB / 499.6 MB, free: 1.508 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.001437/0.1266, allocations: 1.27 MB / 0.4891 GB, free: 264 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.1269, allocations: 115.8 kB / 0.4892 GB, free: 148 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1269, allocations: 0 / 0.4892 GB, free: 148 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.127, allocations: 60.17 kB / 0.4893 GB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.1275, allocations: 52.78 kB / 0.4893 GB, free: 32 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1653/0.2928, allocations: 1.355 MB / 0.4906 GB, free: 42.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.293, allocations: 0.7492 MB / 0.4914 GB, free: 41.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2931, allocations: 73.02 kB / 0.4914 GB, free: 41.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2932, allocations: 0 / 0.4914 GB, free: 41.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.742/3.035, allocations: 3.746 MB / 0.4951 GB, free: 41.36 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches