Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",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.0008208/0.0008208, allocations: 174 kB / 16.72 MB, free: 4.961 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.167/1.167, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0006835/0.0006835, allocations: 90.36 kB / 271.2 MB, free: 8.234 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.2802/0.2802, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003462, allocations: 15.98 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09219, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.001865/0.0941, allocations: 1.53 MB / 492.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.09531, allocations: 0.8396 MB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.09543, allocations: 0 / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.09586, allocations: 239.5 kB / 493.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.09616, allocations: 175.5 kB / 493.7 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.09654, allocations: 131.8 kB / 493.8 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.09682, allocations: 207.3 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.09692, allocations: 21.53 kB / 494.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.09709, allocations: 119.6 kB / 494.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.09727, allocations: 143.6 kB / 494.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.09731, allocations: 4 kB / 494.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.09741, allocations: 35.98 kB / 494.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.09748, allocations: 59.75 kB / 494.4 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.09758, allocations: 105.1 kB / 494.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.09778, allocations: 163.9 kB / 494.7 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.0978, allocations: 4 kB / 494.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0978, allocations: 3.938 kB / 494.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.09781, allocations: 0 / 494.7 MB, free: 6.992 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.0006119/0.09843, allocations: 0.5137 MB / 495.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.09847, allocations: 8.031 kB / 495.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.09852, allocations: 38.75 kB / 495.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.842e-05/0.09858, allocations: 28.56 kB / 495.3 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.09888, allocations: 291.9 kB / 495.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.0989, allocations: 8.375 kB / 495.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.09893, allocations: 11.94 kB / 495.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.09914, allocations: 95.36 kB / 495.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.09916, allocations: 3.984 kB / 495.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.09918, allocations: 0 / 495.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.09919, allocations: 3.938 kB / 495.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.0993, allocations: 39.91 kB / 495.7 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.09979, allocations: 456.9 kB / 496.2 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.1, allocations: 117.3 kB / 496.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.1001, allocations: 41.7 kB / 496.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1002, allocations: 0 / 496.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.1004, allocations: 120.9 kB / 496.4 MB, free: 5.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 4.248e-06/0.1004, allocations: 4 kB / 496.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008149/0.1012, allocations: 371.7 kB / 496.8 MB, free: 4.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1013, allocations: 84.98 kB / 496.9 MB, free: 4.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.1017, allocations: 481.6 kB / 497.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1017, allocations: 33.7 kB / 497.4 MB, free: 4.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.1018, allocations: 160.4 kB / 497.5 MB, free: 3.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.1019, allocations: 43.36 kB / 497.6 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.1019, allocations: 4 kB / 497.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.102, allocations: 350.7 kB / 497.9 MB, free: 3.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.1021, allocations: 43.98 kB / 498 MB, free: 3.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1022, allocations: 71.02 kB / 498 MB, free: 3.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1024, allocations: 127.3 kB / 498.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1024, allocations: 0 / 498.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002966/0.1027, allocations: 177.2 kB / 498.3 MB, free: 3.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1028, allocations: 4 kB / 498.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1028, allocations: 0.75 kB / 498.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1028, allocations: 7.984 kB / 498.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1029, allocations: 35.86 kB / 498.4 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1029, allocations: 4 kB / 498.4 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.103, allocations: 12.06 kB / 498.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1031, allocations: 4 kB / 498.4 MB, free: 2.977 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.0001396/0.1032, allocations: 177.7 kB / 498.6 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.1032, allocations: 43.59 kB / 498.6 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.1033, allocations: 39.12 kB / 498.7 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1033, allocations: 3.938 kB / 498.7 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1033, allocations: 0 / 498.7 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1033, allocations: 4 kB / 498.7 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006867/0.104, allocations: 0.6319 MB / 499.3 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.104, allocations: 0 / 499.3 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.1041, allocations: 19.98 kB / 499.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1041, allocations: 0 / 499.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1041, allocations: 8 kB / 499.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1041, allocations: 0 / 499.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1042, allocations: 4.062 kB / 499.3 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.1045, allocations: 371.8 kB / 499.7 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.1046, allocations: 108.7 kB / 499.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1046, allocations: 8 kB / 499.8 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1048, allocations: 15.98 kB / 499.8 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.1048, allocations: 7.984 kB / 499.8 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1049, allocations: 8 kB / 499.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003054/0.1052, allocations: 359.1 kB / 0.4885 GB, free: 1.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1052, allocations: 4 kB / 0.4885 GB, free: 1.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.1055, allocations: 35.98 kB / 0.4885 GB, free: 1.039 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.1727/0.2781, allocations: 1.257 MB / 0.4897 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.2786, allocations: 113.5 kB / 0.4898 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2786, allocations: 0 / 0.4898 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2788, allocations: 60.97 kB / 0.4899 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/0.2795, allocations: 52.95 kB / 0.4899 GB, free: 43.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.2821, allocations: 1.663 MB / 0.4916 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.2823, allocations: 0.7735 MB / 0.4923 GB, free: 41.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2825, allocations: 89.11 kB / 0.4924 GB, free: 41.84 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2825, allocations: 1.406 kB / 0.4924 GB, free: 41.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.83/3.113, allocations: 4.336 MB / 0.4966 GB, free: 41.41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches