Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",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.001062/0.001062, allocations: 173.8 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.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007166/0.0007165, allocations: 82.36 kB / 271.2 MB, free: 8.242 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.2653/0.2653, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09177, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001658/0.09346, allocations: 1.402 MB / 492.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009572/0.09443, allocations: 0.75 MB / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.09449, allocations: 0 / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.09476, allocations: 91.8 kB / 493.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.09494, allocations: 75.78 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.09516, allocations: 83.83 kB / 493.3 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.0953, allocations: 91.69 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.526e-05/0.09539, allocations: 12.22 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.09547, allocations: 47.77 kB / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.09556, allocations: 55.81 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.09558, allocations: 0 / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.249e-05/0.09566, allocations: 31.98 kB / 493.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.09571, allocations: 27.86 kB / 493.6 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.09577, allocations: 73.36 kB / 493.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.09591, allocations: 92.09 kB / 493.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.09592, allocations: 0 / 493.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09592, allocations: 0 / 493.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.09593, allocations: 0 / 493.7 MB, free: 7.941 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.0004194/0.09635, allocations: 406.6 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.0964, allocations: 12.03 kB / 494.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.09644, allocations: 34.73 kB / 494.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.09647, allocations: 16.84 kB / 494.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.09668, allocations: 224.7 kB / 494.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.0967, allocations: 384 / 494.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.09672, allocations: 11.88 kB / 494.4 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.09685, allocations: 61.61 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.09687, allocations: 0 / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.09688, allocations: 0 / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.09689, allocations: 0 / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.447e-05/0.09696, allocations: 23.97 kB / 494.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.09728, allocations: 296.8 kB / 494.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.09743, allocations: 58.61 kB / 494.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.09749, allocations: 20.84 kB / 494.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.09751, allocations: 4 kB / 494.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.09766, allocations: 67.39 kB / 495 MB, free: 6.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.09768, allocations: 3.938 kB / 495 MB, free: 6.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004508/0.09813, allocations: 177.1 kB / 495.1 MB, free: 6.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.09818, allocations: 55.39 kB / 495.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.09838, allocations: 246.1 kB / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.0984, allocations: 25.7 kB / 495.5 MB, free: 6.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.09845, allocations: 112.1 kB / 495.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.09849, allocations: 31.64 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.09849, allocations: 0 / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.0986, allocations: 322.8 kB / 495.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.09866, allocations: 23.98 kB / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.09872, allocations: 33.66 kB / 496 MB, free: 5.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.09884, allocations: 57.7 kB / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.09885, allocations: 4 kB / 496 MB, free: 5.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.09903, allocations: 109.4 kB / 496.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.09905, allocations: 4 kB / 496.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.09905, allocations: 0 / 496.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.09907, allocations: 4 kB / 496.1 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.09915, allocations: 12 kB / 496.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.09916, allocations: 0 / 496.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.09921, allocations: 15.92 kB / 496.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.09922, allocations: 0 / 496.2 MB, free: 5.281 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.409e-05/0.09932, allocations: 145.6 kB / 496.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.09934, allocations: 11.81 kB / 496.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.09939, allocations: 17.41 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.0994, allocations: 0 / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.0994, allocations: 7.938 kB / 496.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.09941, allocations: 7.922 kB / 496.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.09979, allocations: 391.5 kB / 496.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.0998, allocations: 4.406 kB / 496.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.09984, allocations: 8 kB / 496.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.09985, allocations: 7.938 kB / 496.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.09986, allocations: 11.98 kB / 496.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.09987, allocations: 80 / 496.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.09987, allocations: 3.984 kB / 496.8 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1001, allocations: 204.1 kB / 497 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.1001, allocations: 93.02 kB / 497.1 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1002, allocations: 8.109 kB / 497.1 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.1002, allocations: 4 kB / 497.1 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.1003, allocations: 3.938 kB / 497.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1003, allocations: 11.98 kB / 497.1 MB, free: 4.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1004, allocations: 184.3 kB / 497.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1004, allocations: 0 / 497.3 MB, free: 4.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.1007, allocations: 24 kB / 497.3 MB, free: 4.051 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.001166/0.1018, allocations: 1.101 MB / 498.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.102, allocations: 59.95 kB / 498.5 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.102, allocations: 0 / 498.5 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/0.1021, allocations: 35.92 kB / 498.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.1024, allocations: 23.92 kB / 498.5 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1035, allocations: 0.8677 MB / 499.4 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1037, allocations: 0.7118 MB / 0.4884 GB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.1038, allocations: 39.42 kB / 0.4884 GB, free: 1.141 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1038, allocations: 3.938 kB / 0.4884 GB, free: 1.137 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.844/2.948, allocations: 2.461 MB / 0.4908 GB, free: 42.28 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches