Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",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.001032/0.001032, allocations: 174 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.249/1.249, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007482/0.0007482, allocations: 94.3 kB / 271.2 MB, free: 8.238 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.2851/0.2851, allocations: 43.56 MB / 363.1 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 16 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09631, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001827/0.09817, allocations: 1.398 MB / 492.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.09926, allocations: 0.7383 MB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.09936, allocations: 7.938 kB / 493.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.09964, allocations: 75.83 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.09984, allocations: 75.77 kB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1001, allocations: 67.86 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1003, allocations: 95.67 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.1004, allocations: 16.22 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.1005, allocations: 47.78 kB / 493.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.1006, allocations: 47.81 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1006, allocations: 0 / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.676e-05/0.1007, allocations: 39.97 kB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.1007, allocations: 23.86 kB / 493.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.1008, allocations: 61.44 kB / 493.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1009, allocations: 92.09 kB / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1009, allocations: 0 / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.101, allocations: 4 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.101, allocations: 0 / 493.7 MB, free: 7.734 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.0004413/0.1014, allocations: 403.1 kB / 494.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1015, allocations: 8.031 kB / 494.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1015, allocations: 30.75 kB / 494.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.1015, allocations: 16.75 kB / 494.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1018, allocations: 223.9 kB / 494.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1018, allocations: 384 / 494.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1018, allocations: 11.88 kB / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1019, allocations: 57.67 kB / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.102, allocations: 0 / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.102, allocations: 0 / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.102, allocations: 3.984 kB / 494.5 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.1021, allocations: 16 kB / 494.5 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1024, allocations: 300.7 kB / 494.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1026, allocations: 58.69 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.1026, allocations: 20.84 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1027, allocations: 0 / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.1028, allocations: 63.39 kB / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.1028, allocations: 0 / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004959/0.1033, allocations: 185.1 kB / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.1034, allocations: 51.41 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1036, allocations: 222.5 kB / 495.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1036, allocations: 29.7 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.1037, allocations: 108.1 kB / 495.5 MB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.1037, allocations: 27.64 kB / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.1037, allocations: 0 / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.1038, allocations: 330.8 kB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.1039, allocations: 16 kB / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.1039, allocations: 41.7 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.104, allocations: 57.77 kB / 495.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1041, allocations: 0 / 495.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.1042, allocations: 101.4 kB / 496 MB, free: 5.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1043, allocations: 8 kB / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1043, allocations: 8 kB / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.1043, allocations: 4 kB / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.1044, allocations: 15.94 kB / 496.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1044, allocations: 4 kB / 496.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1044, allocations: 3.938 kB / 496.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1045, allocations: 4.375 kB / 496.1 MB, free: 5.109 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.703e-05/0.1046, allocations: 133.6 kB / 496.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1046, allocations: 11.91 kB / 496.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.1046, allocations: 17.39 kB / 496.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1046, allocations: 4 kB / 496.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1046, allocations: 11.94 kB / 496.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1046, allocations: 3.938 kB / 496.3 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.105, allocations: 391.3 kB / 496.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1051, allocations: 3.984 kB / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.1051, allocations: 8 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1051, allocations: 3.938 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1051, allocations: 8.188 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1051, allocations: 4.031 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1051, allocations: 3.938 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.1053, allocations: 200.1 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.1054, allocations: 96.91 kB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1054, allocations: 3.938 kB / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.1055, allocations: 4 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1055, allocations: 11.98 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1056, allocations: 8 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1057, allocations: 168.3 kB / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1057, allocations: 0 / 497.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.106, allocations: 24 kB / 497.2 MB, free: 3.91 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.001195/0.1072, allocations: 1.094 MB / 498.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.1073, allocations: 63.91 kB / 498.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1073, allocations: 0 / 498.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.1074, allocations: 27.98 kB / 498.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1077, allocations: 27.19 kB / 498.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1088, allocations: 0.8214 MB / 499.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.1091, allocations: 0.7121 MB / 499.9 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1092, allocations: 39.42 kB / 500 MB, free: 1.066 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1092, allocations: 0 / 500 MB, free: 1.066 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/2.96, allocations: 2.372 MB / 0.4906 GB, free: 42.16 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches