Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 177.1 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.317/1.317, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007065/0.0007063, allocations: 88.98 kB / 271.2 MB, free: 8.254 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.308/0.308, allocations: 43.55 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 15.98 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001848/0.1186, allocations: 1.405 MB / 492.2 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1197, allocations: 0.7344 MB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.874e-05/0.1198, allocations: 3.938 kB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1201, allocations: 51.86 kB / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1203, allocations: 43.83 kB / 493.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1205, allocations: 75.84 kB / 493.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1207, allocations: 87.69 kB / 493.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.1208, allocations: 16.2 kB / 493.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.1209, allocations: 39.78 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.121, allocations: 31.84 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.121, allocations: 4 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-05/0.1211, allocations: 28 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1211, allocations: 27.84 kB / 493.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/0.1212, allocations: 61.44 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1214, allocations: 88.09 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1214, allocations: 4 kB / 493.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1214, allocations: 4 kB / 493.5 MB, free: 8.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1214, allocations: 0 / 493.5 MB, free: 8.16 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.0004722/0.1219, allocations: 395.1 kB / 493.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1219, allocations: 16.02 kB / 493.9 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.122, allocations: 12.75 kB / 493.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1222, allocations: 216 kB / 494.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1222, allocations: 4.375 kB / 494.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1222, allocations: 12.02 kB / 494.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1224, allocations: 61.61 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1224, allocations: 0 / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1224, allocations: 0 / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1224, allocations: 4 kB / 494.2 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.586e-05/0.1225, allocations: 15.98 kB / 494.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1228, allocations: 292.8 kB / 494.5 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.123, allocations: 62.61 kB / 494.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.123, allocations: 24.8 kB / 494.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1231, allocations: 0 / 494.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.1232, allocations: 63.39 kB / 494.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1233, allocations: 0 / 494.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004875/0.1237, allocations: 185.1 kB / 494.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1238, allocations: 55.41 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.124, allocations: 218.7 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.124, allocations: 25.7 kB / 495.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.1241, allocations: 112.1 kB / 495.3 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1241, allocations: 27.64 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.1241, allocations: 3.938 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1243, allocations: 326.8 kB / 495.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.1243, allocations: 23.98 kB / 495.6 MB, free: 5.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-05/0.1244, allocations: 33.72 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1245, allocations: 57.7 kB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1245, allocations: 0 / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.1247, allocations: 105.5 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1247, allocations: 4 kB / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1247, allocations: 0 / 495.8 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1247, allocations: 4 kB / 495.8 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.1248, allocations: 16.03 kB / 495.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1248, allocations: 8.078 kB / 495.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.1249, allocations: 15.92 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1249, allocations: 0 / 495.9 MB, free: 5.574 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 0.0001018/0.125, allocations: 133.6 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.125, allocations: 11.81 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.1251, allocations: 21.41 kB / 496 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1251, allocations: 0 / 496 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1251, allocations: 4 kB / 496 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1251, allocations: 7.875 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1255, allocations: 391.3 kB / 496.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1255, allocations: 0 / 496.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.1256, allocations: 11.98 kB / 496.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1256, allocations: 4 kB / 496.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1256, allocations: 3.938 kB / 496.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1256, allocations: 0 / 496.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1256, allocations: 8.203 kB / 496.5 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1258, allocations: 208.1 kB / 496.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.1259, allocations: 92.86 kB / 496.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1259, allocations: 11.94 kB / 496.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.126, allocations: 3.984 kB / 496.8 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.126, allocations: 4 kB / 496.8 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1261, allocations: 8 kB / 496.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1262, allocations: 176.3 kB / 497 MB, free: 4.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1262, allocations: 0 / 497 MB, free: 4.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.1264, allocations: 24 kB / 497 MB, free: 4.367 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.0009042/0.1273, allocations: 461.3 kB / 497.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1275, allocations: 59.92 kB / 497.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1275, allocations: 0 / 497.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.1276, allocations: 31.92 kB / 497.5 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.1279, allocations: 19.98 kB / 497.5 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.1284, allocations: 303.9 kB / 497.8 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1286, allocations: 0.716 MB / 498.5 MB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.1287, allocations: 15.44 kB / 498.6 MB, free: 2.766 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1287, allocations: 0 / 498.6 MB, free: 2.766 MB / 378.7 MB Notification: Performance of Templates: time 0.003267/0.132, allocations: 1.941 MB / 0.4888 GB, free: 0.8281 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches