Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",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.0009929/0.0009931, allocations: 174.8 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.161/1.161, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007209/0.000721, allocations: 90.41 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.2811/0.2811, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.0905, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00189/0.09243, allocations: 1.614 MB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.0936, allocations: 0.9059 MB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.09369, allocations: 3.938 kB / 493.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.09421, allocations: 167.6 kB / 493.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.09447, allocations: 143.5 kB / 493.8 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.09487, allocations: 167.7 kB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.0951, allocations: 223.3 kB / 494.1 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.208e-05/0.0952, allocations: 25.66 kB / 494.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.09532, allocations: 95.56 kB / 494.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.09544, allocations: 91.59 kB / 494.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.09547, allocations: 4 kB / 494.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.09558, allocations: 51.89 kB / 494.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.09566, allocations: 43.84 kB / 494.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.09574, allocations: 97.22 kB / 494.5 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.09593, allocations: 171.9 kB / 494.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.09594, allocations: 0 / 494.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09595, allocations: 0 / 494.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.09596, allocations: 0 / 494.7 MB, free: 6.754 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005943/0.09656, allocations: 0.5195 MB / 495.2 MB, free: 6.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.0966, allocations: 8.031 kB / 495.2 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.09664, allocations: 42.69 kB / 495.3 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.09669, allocations: 28.59 kB / 495.3 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.09698, allocations: 279.6 kB / 495.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.097, allocations: 4.375 kB / 495.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.09702, allocations: 7.938 kB / 495.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.09723, allocations: 104.2 kB / 495.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.09724, allocations: 0 / 495.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.09727, allocations: 11.98 kB / 495.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.09727, allocations: 0 / 495.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.09741, allocations: 35.97 kB / 495.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.09783, allocations: 377.5 kB / 496.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.09809, allocations: 113.3 kB / 496.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.09819, allocations: 53.62 kB / 496.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.09823, allocations: 4.078 kB / 496.3 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.09843, allocations: 109.1 kB / 496.4 MB, free: 4.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.09844, allocations: 3.938 kB / 496.4 MB, free: 4.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003932/0.09884, allocations: 185.3 kB / 496.6 MB, free: 4.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.09889, allocations: 110.8 kB / 496.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.0992, allocations: 327 kB / 497 MB, free: 4.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.09923, allocations: 33.7 kB / 497 MB, free: 4.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.09931, allocations: 143.9 kB / 497.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.09935, allocations: 23.72 kB / 497.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.09936, allocations: 4 kB / 497.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.09946, allocations: 334.8 kB / 497.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.474e-05/0.09955, allocations: 39.98 kB / 497.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.09966, allocations: 84.38 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.09984, allocations: 95.34 kB / 497.7 MB, free: 3.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09985, allocations: 4.031 kB / 497.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002435/0.1001, allocations: 141.3 kB / 497.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1001, allocations: 4 kB / 497.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1001, allocations: 0 / 497.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1001, allocations: 4 kB / 497.9 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1002, allocations: 27.92 kB / 497.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1003, allocations: 0 / 497.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.1003, allocations: 19.83 kB / 497.9 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1004, allocations: 8.062 kB / 497.9 MB, free: 3.219 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001172/0.1005, allocations: 154.4 kB / 498.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.1005, allocations: 19.72 kB / 498.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.1006, allocations: 33.72 kB / 498.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1006, allocations: 0 / 498.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1006, allocations: 4 kB / 498.1 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1006, allocations: 7.938 kB / 498.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1008, allocations: 249.5 kB / 498.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1008, allocations: 3.938 kB / 498.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.1008, allocations: 19.94 kB / 498.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1008, allocations: 0 / 498.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1009, allocations: 4 kB / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1009, allocations: 0 / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1009, allocations: 0 / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.1011, allocations: 181.5 kB / 498.6 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1012, allocations: 104.8 kB / 498.7 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1013, allocations: 8 kB / 498.7 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.1013, allocations: 8 kB / 498.7 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.1014, allocations: 11.92 kB / 498.7 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1014, allocations: 11.98 kB / 498.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.1016, allocations: 245.9 kB / 499 MB, free: 2.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1016, allocations: 0 / 499 MB, free: 2.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.1019, allocations: 35.98 kB / 499 MB, free: 2.039 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001163/0.103, allocations: 1.032 MB / 0.4883 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1033, allocations: 87.91 kB / 0.4884 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1033, allocations: 0 / 0.4884 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1034, allocations: 59.97 kB / 0.4885 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1038, allocations: 52.78 kB / 0.4885 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1432/0.247, allocations: 1.28 MB / 0.4898 GB, free: 42.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.2472, allocations: 0.7403 MB / 0.4905 GB, free: 41.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2473, allocations: 64.69 kB / 0.4906 GB, free: 41.79 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2473, allocations: 2.469 kB / 0.4906 GB, free: 41.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.079/3.326, allocations: 3.759 MB / 0.4942 GB, free: 41.6 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches