Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",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.0008827/0.0008876, allocations: 174.4 kB / 16.72 MB, free: 5.082 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.25/1.25, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008071/0.0008072, allocations: 96.95 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.2917/0.2917, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003747, allocations: 16 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.001974/0.1026, allocations: 1.402 MB / 492.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1038, allocations: 0.7383 MB / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.933e-05/0.1039, allocations: 4 kB / 493.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1042, allocations: 35.89 kB / 493.1 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1044, allocations: 39.83 kB / 493.2 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.1046, allocations: 79.84 kB / 493.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1048, allocations: 79.7 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.1049, allocations: 20.2 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.105, allocations: 39.78 kB / 493.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.1051, allocations: 27.86 kB / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1051, allocations: 0 / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.505e-05/0.1052, allocations: 39.92 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.1053, allocations: 23.91 kB / 493.5 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.1053, allocations: 49.52 kB / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1055, allocations: 88.03 kB / 493.6 MB, free: 8.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1055, allocations: 0 / 493.6 MB, free: 8.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1055, allocations: 0 / 493.6 MB, free: 8.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1055, allocations: 4 kB / 493.6 MB, free: 8.105 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.0004707/0.106, allocations: 399.1 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.106, allocations: 12.03 kB / 494 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.1061, allocations: 30.75 kB / 494 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.1061, allocations: 8.844 kB / 494 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1063, allocations: 212 kB / 494.2 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1064, allocations: 8.312 kB / 494.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1064, allocations: 7.938 kB / 494.3 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1065, allocations: 61.61 kB / 494.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1066, allocations: 0 / 494.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1066, allocations: 0 / 494.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1066, allocations: 0 / 494.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.1067, allocations: 19.98 kB / 494.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.107, allocations: 284.8 kB / 494.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.1072, allocations: 66.61 kB / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1072, allocations: 20.84 kB / 494.7 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1073, allocations: 0 / 494.7 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.1074, allocations: 67.39 kB / 494.8 MB, free: 6.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1075, allocations: 3.938 kB / 494.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005101/0.108, allocations: 173.2 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.108, allocations: 55.41 kB / 495 MB, free: 6.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1082, allocations: 182.2 kB / 495.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1082, allocations: 25.7 kB / 495.2 MB, free: 6.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.1083, allocations: 108.1 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1083, allocations: 27.64 kB / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1083, allocations: 0 / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1084, allocations: 322.8 kB / 495.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.1085, allocations: 16 kB / 495.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.1086, allocations: 45.64 kB / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1087, allocations: 53.7 kB / 495.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1087, allocations: 0 / 495.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001708/0.1089, allocations: 105.5 kB / 495.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1089, allocations: 4 kB / 495.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1089, allocations: 4 kB / 495.9 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1089, allocations: 0 / 495.9 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.109, allocations: 16.03 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.109, allocations: 0 / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1091, allocations: 11.92 kB / 495.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1091, allocations: 4 kB / 495.9 MB, free: 5.555 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.094e-05/0.1092, allocations: 133.4 kB / 496 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.1092, allocations: 11.81 kB / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.1093, allocations: 20.7 kB / 496.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1093, allocations: 3.938 kB / 496.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1093, allocations: 4 kB / 496.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1093, allocations: 3.938 kB / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.1097, allocations: 387.7 kB / 496.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1097, allocations: 0 / 496.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1097, allocations: 12 kB / 496.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1097, allocations: 7.922 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1098, allocations: 0 / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1098, allocations: 4 kB / 496.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1098, allocations: 4.031 kB / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.11, allocations: 204.2 kB / 496.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.11, allocations: 84.92 kB / 496.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1101, allocations: 16.11 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.1101, allocations: 0 / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1102, allocations: 7.938 kB / 496.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1102, allocations: 11.98 kB / 496.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1103, allocations: 144.1 kB / 496.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1103, allocations: 0 / 496.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.1106, allocations: 19.98 kB / 497 MB, free: 4.398 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.001267/0.1119, allocations: 1.102 MB / 498.1 MB, free: 3.309 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.112, allocations: 59.95 kB / 498.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.112, allocations: 0 / 498.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.1121, allocations: 32 kB / 498.1 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1124, allocations: 23.97 kB / 498.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1135, allocations: 0.7286 MB / 498.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1138, allocations: 0.7004 MB / 499.6 MB, free: 1.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.1139, allocations: 35.42 kB / 499.6 MB, free: 1.645 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1139, allocations: 0 / 499.6 MB, free: 1.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.844/2.958, allocations: 2.213 MB / 0.4901 GB, free: 42.22 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches