Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",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.0009188/0.0009188, allocations: 175.2 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.253/1.253, 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.0006747/0.0006747, allocations: 89.34 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.2945/0.2945, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 12 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09549, allocations: 58.86 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001674/0.0972, allocations: 1.402 MB / 492.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.09817, allocations: 0.7422 MB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.09823, allocations: 0 / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.09848, allocations: 55.86 kB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.09863, allocations: 47.81 kB / 493.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.09885, allocations: 75.84 kB / 493.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.09898, allocations: 83.69 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.239e-05/0.09906, allocations: 12.22 kB / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.09914, allocations: 47.78 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.09921, allocations: 31.84 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.09924, allocations: 4 kB / 493.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.09932, allocations: 32 kB / 493.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.09938, allocations: 35.77 kB / 493.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.09944, allocations: 65.44 kB / 493.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.09957, allocations: 92.08 kB / 493.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.09958, allocations: 0 / 493.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09959, allocations: 0 / 493.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.0996, allocations: 0 / 493.6 MB, free: 8.035 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.0004312/0.1, allocations: 418.9 kB / 494.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1001, allocations: 16.02 kB / 494.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.1001, allocations: 30.75 kB / 494.1 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1002, allocations: 12.75 kB / 494.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1004, allocations: 227.7 kB / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1004, allocations: 384 / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.1004, allocations: 11.88 kB / 494.4 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1005, allocations: 53.67 kB / 494.4 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1005, allocations: 4 kB / 494.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1006, allocations: 0 / 494.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1006, allocations: 0 / 494.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/0.1006, allocations: 23.92 kB / 494.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.101, allocations: 296.8 kB / 494.7 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1011, allocations: 58.69 kB / 494.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.1012, allocations: 20.84 kB / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1012, allocations: 4 kB / 494.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.1013, allocations: 67.39 kB / 494.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1014, allocations: 3.938 kB / 494.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004666/0.1018, allocations: 181 kB / 495 MB, free: 6.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1019, allocations: 55.41 kB / 495.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1021, allocations: 263.6 kB / 495.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1021, allocations: 29.7 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.1022, allocations: 112.1 kB / 495.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1022, allocations: 27.69 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.1022, allocations: 0 / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1023, allocations: 326.8 kB / 495.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.1024, allocations: 19.98 kB / 495.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.1024, allocations: 37.7 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.1026, allocations: 53.72 kB / 496 MB, free: 5.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1026, allocations: 0 / 496 MB, free: 5.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000168/0.1027, allocations: 105.4 kB / 496.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1028, allocations: 4 kB / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1028, allocations: 0 / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1028, allocations: 4 kB / 496.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.1029, allocations: 19.97 kB / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1029, allocations: 0 / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.1029, allocations: 15.92 kB / 496.1 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1029, allocations: 4 kB / 496.1 MB, free: 5.336 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.068e-05/0.103, allocations: 137.4 kB / 496.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.1031, allocations: 15.81 kB / 496.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.1031, allocations: 25.38 kB / 496.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1031, allocations: 0 / 496.3 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1031, allocations: 3.938 kB / 496.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1031, allocations: 7.938 kB / 496.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.1035, allocations: 399.3 kB / 496.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1035, allocations: 4 kB / 496.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.1036, allocations: 7.984 kB / 496.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1036, allocations: 8.125 kB / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1036, allocations: 0 / 496.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1036, allocations: 3.938 kB / 496.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1036, allocations: 4 kB / 496.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1038, allocations: 212.4 kB / 496.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.1039, allocations: 92.91 kB / 497 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1039, allocations: 3.938 kB / 497 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.104, allocations: 8.375 kB / 497 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.104, allocations: 7.984 kB / 497 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.104, allocations: 8 kB / 497 MB, free: 4.301 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.1042, allocations: 199 kB / 497.2 MB, free: 4.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1042, allocations: 0 / 497.2 MB, free: 4.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.1044, allocations: 31.98 kB / 497.3 MB, free: 4.074 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.001195/0.1056, allocations: 1.097 MB / 498.4 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.1058, allocations: 55.91 kB / 498.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1058, allocations: 0 / 498.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.1059, allocations: 36.05 kB / 498.4 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.1062, allocations: 27.59 kB / 498.5 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1073, allocations: 0.8991 MB / 499.4 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.1076, allocations: 0.7153 MB / 0.4884 GB, free: 1.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.1077, allocations: 51.41 kB / 0.4884 GB, free: 1.125 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1077, allocations: 0 / 0.4884 GB, free: 1.125 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.816/2.923, allocations: 2.544 MB / 0.4909 GB, free: 42.23 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches