Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",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.00084/0.00084, allocations: 175.1 kB / 16.72 MB, free: 4.957 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.131/1.131, 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.0007199/0.00072, allocations: 97.39 kB / 271.2 MB, free: 8.227 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.2873/0.2873, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 16 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.0967, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001726/0.09846, allocations: 1.398 MB / 492.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009931/0.09947, allocations: 0.75 MB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.09954, allocations: 0 / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.09979, allocations: 27.91 kB / 493.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.09997, allocations: 43.83 kB / 493.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1002, allocations: 83.77 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1003, allocations: 83.7 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.1004, allocations: 12.2 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.629e-05/0.1005, allocations: 39.78 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.1006, allocations: 27.86 kB / 493.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1006, allocations: 4 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.1007, allocations: 39.97 kB / 493.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.1008, allocations: 19.86 kB / 493.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.1008, allocations: 57.52 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.101, allocations: 84.09 kB / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.101, allocations: 3.938 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.101, allocations: 0 / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.101, allocations: 0 / 493.6 MB, free: 8.09 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.0004738/0.1015, allocations: 402.7 kB / 494 MB, free: 7.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1015, allocations: 8.031 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.1016, allocations: 34.75 kB / 494 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.1016, allocations: 8.844 kB / 494 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.1018, allocations: 212 kB / 494.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1018, allocations: 4.375 kB / 494.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1019, allocations: 7.875 kB / 494.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.102, allocations: 57.61 kB / 494.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.102, allocations: 0 / 494.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.102, allocations: 4 kB / 494.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.102, allocations: 0 / 494.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.531e-05/0.1021, allocations: 19.98 kB / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.1024, allocations: 296.8 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.1026, allocations: 58.59 kB / 494.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.1026, allocations: 28.8 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1027, allocations: 0 / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.1028, allocations: 67.39 kB / 494.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1028, allocations: 0 / 494.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004708/0.1033, allocations: 173.2 kB / 494.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.1033, allocations: 51.41 kB / 495 MB, free: 6.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1035, allocations: 190.2 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1035, allocations: 25.7 kB / 495.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.1036, allocations: 100.1 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1036, allocations: 23.66 kB / 495.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.1036, allocations: 4 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.1037, allocations: 326.8 kB / 495.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.1038, allocations: 19.98 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.1039, allocations: 37.64 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.104, allocations: 61.69 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.104, allocations: 0 / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001576/0.1041, allocations: 101.5 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1042, allocations: 4 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1042, allocations: 0 / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1042, allocations: 0 / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.1043, allocations: 19.98 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1043, allocations: 0 / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1043, allocations: 11.94 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1043, allocations: 0 / 495.9 MB, free: 5.539 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.809e-05/0.1045, allocations: 137.5 kB / 496 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1045, allocations: 15.81 kB / 496 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.1045, allocations: 12.72 kB / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1045, allocations: 0 / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1045, allocations: 7.922 kB / 496.1 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1045, allocations: 7.938 kB / 496.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.1049, allocations: 383.3 kB / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1049, allocations: 0 / 496.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.105, allocations: 12.03 kB / 496.5 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.105, allocations: 3.938 kB / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.105, allocations: 8 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.105, allocations: 0 / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.105, allocations: 192 / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1052, allocations: 200.5 kB / 496.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1053, allocations: 104.8 kB / 496.8 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.1053, allocations: 4.312 kB / 496.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.1054, allocations: 7.984 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.1054, allocations: 8 kB / 496.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1054, allocations: 8 kB / 496.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.408e-05/0.1055, allocations: 144 kB / 496.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1055, allocations: 0 / 496.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.1058, allocations: 20 kB / 497 MB, free: 4.379 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.001162/0.1069, allocations: 1.105 MB / 498.1 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.1071, allocations: 51.98 kB / 498.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1071, allocations: 0 / 498.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.1072, allocations: 31.92 kB / 498.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1075, allocations: 31.91 kB / 498.2 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.1085, allocations: 0.7247 MB / 498.9 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1087, allocations: 0.7083 MB / 499.6 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.1087, allocations: 35.42 kB / 499.6 MB, free: 1.621 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1087, allocations: 0 / 499.6 MB, free: 1.621 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.968/3.077, allocations: 2.204 MB / 0.4901 GB, free: 42.17 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches