Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",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.00082/0.0008202, allocations: 175.9 kB / 16.72 MB, free: 4.961 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.233/1.233, allocations: 205.4 MB / 222.9 MB, free: 9 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.0006968/0.0006968, allocations: 92.92 kB / 271.2 MB, free: 8.234 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.2662/0.2662, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 16 kB / 432.1 MB, free: 5.699 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08734, allocations: 58.85 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00177/0.08914, allocations: 1.402 MB / 492.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.09019, allocations: 0.7383 MB / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.09027, allocations: 0 / 493.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.09051, allocations: 39.84 kB / 493.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.09067, allocations: 39.83 kB / 493.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.0909, allocations: 83.77 kB / 493.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.09105, allocations: 83.7 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.09114, allocations: 20.2 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.09122, allocations: 35.8 kB / 493.4 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.09129, allocations: 27.84 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.09131, allocations: 4 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.0914, allocations: 35.98 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.09145, allocations: 19.86 kB / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.09152, allocations: 53.5 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.09167, allocations: 92.03 kB / 493.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.09169, allocations: 0 / 493.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09169, allocations: 0 / 493.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.0917, allocations: 4 kB / 493.6 MB, free: 8.074 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.0004188/0.09213, allocations: 395.1 kB / 494 MB, free: 7.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.09217, allocations: 8.031 kB / 494 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.09221, allocations: 38.73 kB / 494 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.09224, allocations: 8.844 kB / 494 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.09244, allocations: 212 kB / 494.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.09246, allocations: 384 / 494.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.09248, allocations: 7.875 kB / 494.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.09262, allocations: 65.61 kB / 494.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.09264, allocations: 0 / 494.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.09265, allocations: 0 / 494.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.09266, allocations: 0 / 494.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.09273, allocations: 19.98 kB / 494.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.09304, allocations: 288.8 kB / 494.6 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.09319, allocations: 62.62 kB / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.09325, allocations: 20.84 kB / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.09327, allocations: 0 / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.09343, allocations: 63.39 kB / 494.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.09345, allocations: 0 / 494.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004562/0.09391, allocations: 169.2 kB / 494.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.09396, allocations: 59.41 kB / 495 MB, free: 6.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.09411, allocations: 186.2 kB / 495.2 MB, free: 6.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.09414, allocations: 29.7 kB / 495.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.09419, allocations: 100.1 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.09422, allocations: 23.66 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.09423, allocations: 0 / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.09433, allocations: 322.8 kB / 495.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.09439, allocations: 23.98 kB / 495.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.09446, allocations: 45.58 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/0.09457, allocations: 53.7 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.09457, allocations: 4 kB / 495.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.09475, allocations: 101.5 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.09477, allocations: 4 kB / 495.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.09478, allocations: 0 / 495.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.09479, allocations: 8.031 kB / 495.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.09488, allocations: 15.98 kB / 495.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.09489, allocations: 0 / 495.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.09494, allocations: 8.312 kB / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.09495, allocations: 4 kB / 495.9 MB, free: 5.531 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 8.687e-05/0.09504, allocations: 137.4 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.09507, allocations: 11.81 kB / 496 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.09511, allocations: 12.72 kB / 496.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.09512, allocations: 4 kB / 496.1 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.09513, allocations: 11.94 kB / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.09513, allocations: 3.938 kB / 496.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.09555, allocations: 391.3 kB / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.09556, allocations: 0 / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.0956, allocations: 8 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.09561, allocations: 3.938 kB / 496.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.09562, allocations: 4 kB / 496.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.09563, allocations: 0 / 496.5 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.09563, allocations: 4.031 kB / 496.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.09584, allocations: 200.2 kB / 496.7 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.0959, allocations: 96.91 kB / 496.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.09592, allocations: 3.938 kB / 496.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.09599, allocations: 4 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.09603, allocations: 7.984 kB / 496.8 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.09605, allocations: 8 kB / 496.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.09616, allocations: 148 kB / 496.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09617, allocations: 0 / 496.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000229/0.0964, allocations: 20 kB / 497 MB, free: 4.375 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.001183/0.09759, allocations: 1.111 MB / 498.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.09775, allocations: 47.98 kB / 498.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.09776, allocations: 64 / 498.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.09784, allocations: 39.92 kB / 498.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.09814, allocations: 23.98 kB / 498.2 MB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009874/0.09914, allocations: 0.7286 MB / 498.9 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.09938, allocations: 0.7043 MB / 499.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.09944, allocations: 31.42 kB / 499.6 MB, free: 1.621 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.09945, allocations: 4 kB / 499.6 MB, free: 1.617 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.867/2.967, allocations: 2.202 MB / 0.4901 GB, free: 42.16 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches