Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test12",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.0008703/0.0008703, allocations: 174.2 kB / 16.72 MB, free: 4.93 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.111/1.111, 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.0007177/0.0007174, allocations: 97.28 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.2667/0.2667, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 12 kB / 432.1 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09255/0.09288, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.001667/0.09458, allocations: 1.255 MB / 492.2 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.09512, allocations: 315.7 kB / 492.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.09518, allocations: 0 / 492.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.09537, allocations: 15.92 kB / 492.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.09551, allocations: 35.91 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.09577, allocations: 75.81 kB / 492.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.09589, allocations: 55.84 kB / 492.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.09598, allocations: 15.98 kB / 492.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.09603, allocations: 15.92 kB / 492.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.09609, allocations: 15.88 kB / 492.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.09611, allocations: 4 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.09618, allocations: 27.97 kB / 492.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.09623, allocations: 19.92 kB / 492.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.09627, allocations: 41.58 kB / 492.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.09639, allocations: 60.2 kB / 492.9 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.0964, allocations: 0 / 492.9 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.09641, allocations: 4 kB / 492.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.09642, allocations: 0 / 492.9 MB, free: 8.816 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003794/0.0968, allocations: 379 kB / 493.2 MB, free: 8.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.09685, allocations: 12.03 kB / 493.2 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.0969, allocations: 30.75 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.09693, allocations: 12.84 kB / 493.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.09709, allocations: 195.8 kB / 493.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.09711, allocations: 4.375 kB / 493.5 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.09713, allocations: 8.281 kB / 493.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.09726, allocations: 49.62 kB / 493.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.09728, allocations: 3.984 kB / 493.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.09729, allocations: 0 / 493.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.0973, allocations: 0 / 493.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.214e-05/0.0974, allocations: 35.92 kB / 493.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.09774, allocations: 284.8 kB / 493.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.09792, allocations: 46.55 kB / 493.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.09798, allocations: 20.86 kB / 493.9 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.09801, allocations: 4 kB / 493.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.09804, allocations: 42.58 kB / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.09805, allocations: 3.938 kB / 494 MB, free: 7.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005184/0.09857, allocations: 157.3 kB / 494.1 MB, free: 7.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.09861, allocations: 59.34 kB / 494.2 MB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.09875, allocations: 165.7 kB / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.09877, allocations: 25.7 kB / 494.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.09882, allocations: 96.12 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.09884, allocations: 15.75 kB / 494.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.09885, allocations: 8 kB / 494.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.09895, allocations: 322.8 kB / 494.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.09903, allocations: 23.98 kB / 494.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.0991, allocations: 23.98 kB / 494.9 MB, free: 6.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.09924, allocations: 64.81 kB / 494.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.09925, allocations: 0 / 494.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001997/0.09946, allocations: 97.52 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.09948, allocations: 8 kB / 495 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.09949, allocations: 0 / 495 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.09951, allocations: 3.938 kB / 495 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.09958, allocations: 15.98 kB / 495 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.09959, allocations: 0 / 495 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.09964, allocations: 7.906 kB / 495 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.09965, allocations: 7.938 kB / 495.1 MB, free: 6.402 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.162e-05/0.09973, allocations: 125.8 kB / 495.2 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.09977, allocations: 8.188 kB / 495.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.09999, allocations: 105.9 kB / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1, allocations: 3.984 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1, allocations: 0 / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1, allocations: 4 kB / 495.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.1004, allocations: 366.8 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1004, allocations: 64 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.1005, allocations: 16 kB / 495.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1005, allocations: 0 / 495.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1005, allocations: 4 kB / 495.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1005, allocations: 7.938 kB / 495.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1005, allocations: 3.984 kB / 495.7 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1007, allocations: 187.4 kB / 495.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.1008, allocations: 85 kB / 496 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1008, allocations: 8 kB / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.1009, allocations: 11.94 kB / 496 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1009, allocations: 3.984 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1009, allocations: 4 kB / 496 MB, free: 5.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.101, allocations: 126.7 kB / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.101, allocations: 0 / 496.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.1012, allocations: 19.94 kB / 496.1 MB, free: 5.227 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001084/0.1023, allocations: 1.027 MB / 497.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1025, allocations: 55.97 kB / 497.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1025, allocations: 0 / 497.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.1026, allocations: 35.91 kB / 497.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1029, allocations: 15.94 kB / 497.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.1039, allocations: 0.649 MB / 497.9 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1041, allocations: 0.7005 MB / 498.6 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.1042, allocations: 27.36 kB / 498.6 MB, free: 2.652 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1042, allocations: 0 / 498.6 MB, free: 2.652 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.575/2.679, allocations: 1.732 MB / 0.4886 GB, free: 0.918 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches