Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",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.0008141/0.0008142, 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.182/1.182, 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.0006693/0.0006695, allocations: 94.02 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.2965/0.2965, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 23.98 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 58.85 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001733/0.1036, allocations: 1.398 MB / 492.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1046, allocations: 0.7422 MB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.1047, allocations: 0 / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.1049, allocations: 39.83 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.1051, allocations: 39.83 kB / 493.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1053, allocations: 75.84 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1055, allocations: 79.7 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.1055, allocations: 20.2 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.1056, allocations: 31.86 kB / 493.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.1057, allocations: 35.78 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1057, allocations: 0 / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.1058, allocations: 35.98 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.1059, allocations: 23.84 kB / 493.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.1059, allocations: 53.52 kB / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1061, allocations: 80.09 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1061, allocations: 0 / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1061, allocations: 0 / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1061, allocations: 4 kB / 493.6 MB, free: 7.867 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.0004649/0.1066, allocations: 399.1 kB / 494 MB, free: 7.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1066, allocations: 12.03 kB / 494 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1067, allocations: 34.75 kB / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1067, allocations: 8.844 kB / 494 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.1069, allocations: 212 kB / 494.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1069, allocations: 384 / 494.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1069, allocations: 15.88 kB / 494.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1071, allocations: 49.67 kB / 494.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1071, allocations: 4 kB / 494.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1071, allocations: 4 kB / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1071, allocations: 0 / 494.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.325e-05/0.1072, allocations: 19.98 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1075, allocations: 288.7 kB / 494.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1077, allocations: 62.67 kB / 494.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.1078, allocations: 20.84 kB / 494.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1078, allocations: 3.938 kB / 494.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.108, allocations: 71.33 kB / 494.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.108, allocations: 0 / 494.8 MB, free: 6.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005085/0.1085, allocations: 173.4 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1085, allocations: 59.34 kB / 495 MB, free: 6.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1087, allocations: 182.2 kB / 495.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1087, allocations: 29.7 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.1088, allocations: 100.1 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.1088, allocations: 27.64 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.1088, allocations: 4 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.109, allocations: 322.8 kB / 495.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.1091, allocations: 12 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.1091, allocations: 41.7 kB / 495.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1093, allocations: 61.64 kB / 495.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1093, allocations: 0 / 495.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.1095, allocations: 97.58 kB / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.1095, allocations: 14.48 kB / 495.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1095, allocations: 0 / 495.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1095, allocations: 0 / 495.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.1096, allocations: 19.97 kB / 495.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1096, allocations: 4 kB / 495.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.1097, allocations: 7.922 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1097, allocations: 4 kB / 495.9 MB, free: 5.312 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 0.0001151/0.1098, allocations: 125.5 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.1098, allocations: 11.81 kB / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.1099, allocations: 24.69 kB / 496.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1099, allocations: 0 / 496.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1099, allocations: 3.938 kB / 496.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1099, allocations: 7.938 kB / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.1104, allocations: 387.5 kB / 496.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1104, allocations: 0 / 496.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1104, allocations: 8 kB / 496.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1104, allocations: 3.938 kB / 496.5 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1105, allocations: 3.984 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1105, allocations: 4 kB / 496.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1105, allocations: 4.016 kB / 496.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1107, allocations: 208.5 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.1108, allocations: 88.92 kB / 496.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.1108, allocations: 11.86 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.1109, allocations: 8 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1109, allocations: 0 / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.111, allocations: 11.98 kB / 496.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1111, allocations: 140.1 kB / 496.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1111, allocations: 0 / 496.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.1113, allocations: 27.98 kB / 497 MB, free: 4.156 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.001312/0.1126, allocations: 1.095 MB / 498.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1128, allocations: 59.91 kB / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1128, allocations: 0 / 498.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/0.1129, allocations: 32.05 kB / 498.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.1132, allocations: 27.97 kB / 498.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1143, allocations: 0.7324 MB / 498.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1145, allocations: 0.7004 MB / 499.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.1146, allocations: 35.42 kB / 499.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1146, allocations: 0 / 499.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.927/3.042, allocations: 2.212 MB / 0.4901 GB, free: 42.37 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches