Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",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.0008602/0.0008603, 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.243/1.243, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007107/0.0007106, allocations: 90.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.3023/0.3023, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 16 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09644, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001743/0.09823, allocations: 1.394 MB / 492.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.09922, allocations: 0.7383 MB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.09929, allocations: 4 kB / 493.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.09953, allocations: 31.89 kB / 493.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.09968, allocations: 43.83 kB / 493.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.0999, allocations: 71.84 kB / 493.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1, allocations: 79.7 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.1001, allocations: 20.2 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.1002, allocations: 35.8 kB / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.1003, allocations: 27.84 kB / 493.4 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1003, allocations: 4 kB / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.1004, allocations: 39.98 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.1004, allocations: 19.84 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.1005, allocations: 53.52 kB / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1006, allocations: 76.11 kB / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1007, allocations: 0 / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1007, allocations: 0 / 493.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1007, allocations: 0 / 493.6 MB, free: 8.121 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.0004229/0.1011, allocations: 387.2 kB / 493.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1011, allocations: 12.03 kB / 494 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.1012, allocations: 34.69 kB / 494 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.1012, allocations: 12.84 kB / 494 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1014, allocations: 212.5 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1014, allocations: 0 / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1015, allocations: 3.938 kB / 494.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1016, allocations: 53.67 kB / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1016, allocations: 4 kB / 494.3 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1016, allocations: 4 kB / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1016, allocations: 0 / 494.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.1017, allocations: 19.98 kB / 494.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.102, allocations: 288.7 kB / 494.6 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1022, allocations: 58.67 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.1023, allocations: 24.84 kB / 494.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1023, allocations: 4 kB / 494.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1025, allocations: 67.33 kB / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1025, allocations: 0 / 494.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000471/0.1029, allocations: 165.3 kB / 494.9 MB, free: 6.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.103, allocations: 59.33 kB / 494.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1031, allocations: 162.4 kB / 495.1 MB, free: 6.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1032, allocations: 33.64 kB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.1032, allocations: 96.14 kB / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1033, allocations: 27.64 kB / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1033, allocations: 0 / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.1034, allocations: 318.8 kB / 495.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.1034, allocations: 20 kB / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.1035, allocations: 33.7 kB / 495.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1036, allocations: 65.64 kB / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1036, allocations: 0 / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001589/0.1038, allocations: 97.5 kB / 495.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1038, allocations: 10.48 kB / 495.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1038, allocations: 3.938 kB / 495.8 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1038, allocations: 4 kB / 495.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.1039, allocations: 15.94 kB / 495.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.1039, allocations: 4.031 kB / 495.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.104, allocations: 4 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.104, allocations: 7.984 kB / 495.8 MB, free: 5.613 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 9.041e-05/0.1041, allocations: 121.6 kB / 495.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1041, allocations: 7.906 kB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.1042, allocations: 24.62 kB / 496 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1042, allocations: 4 kB / 496 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1042, allocations: 3.938 kB / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1042, allocations: 384 / 496 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.1046, allocations: 395.3 kB / 496.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1046, allocations: 4 kB / 496.4 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.1046, allocations: 8 kB / 496.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1046, allocations: 0 / 496.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1046, allocations: 4 kB / 496.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1047, allocations: 3.938 kB / 496.4 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1047, allocations: 0 / 496.4 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.1049, allocations: 212.5 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1049, allocations: 88.92 kB / 496.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1049, allocations: 0 / 496.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.105, allocations: 8 kB / 496.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.105, allocations: 3.984 kB / 496.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1051, allocations: 4 kB / 496.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.3e-05/0.1052, allocations: 132.1 kB / 496.8 MB, free: 4.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1052, allocations: 0 / 496.8 MB, free: 4.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.1054, allocations: 31.92 kB / 496.9 MB, free: 4.477 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.001196/0.1066, allocations: 1.087 MB / 497.9 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1068, allocations: 63.91 kB / 498 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1068, allocations: 0 / 498 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.1068, allocations: 24 kB / 498 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1071, allocations: 28.09 kB / 498.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009397/0.1081, allocations: 0.6786 MB / 498.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1083, allocations: 0.7004 MB / 499.4 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.1084, allocations: 31.42 kB / 499.5 MB, free: 1.805 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1084, allocations: 0 / 499.5 MB, free: 1.805 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.84/2.948, allocations: 2.109 MB / 0.4898 GB, free: 42.53 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches