Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001205, allocations: 109.8 kB / 17.03 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2306/0.2306, allocations: 43.53 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 70.98 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1434, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002957/0.1464, allocations: 1.544 MB / 443.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005685/0.147, allocations: 323.5 kB / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.147, allocations: 3.938 kB / 443.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.1474, allocations: 67.83 kB / 443.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1476, allocations: 71.69 kB / 444 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1478, allocations: 87.44 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.148, allocations: 71.81 kB / 444.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1481, allocations: 19.92 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.1481, allocations: 23.92 kB / 444.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.651e-05/0.1482, allocations: 51.83 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1482, allocations: 0 / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.1483, allocations: 27.98 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.1484, allocations: 19.92 kB / 444.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.1484, allocations: 31.73 kB / 444.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1486, allocations: 79.73 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1486, allocations: 0 / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1486, allocations: 4 kB / 444.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1486, allocations: 0 / 444.4 MB, free: 3.719 MB / 318.1 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.0004209/0.149, allocations: 387.1 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1491, allocations: 15.89 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1491, allocations: 12.83 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.1493, allocations: 198.1 kB / 445 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.1493, allocations: 4.312 kB / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1493, allocations: 4.359 kB / 445 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1495, allocations: 61.73 kB / 445 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1495, allocations: 0 / 445 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1495, allocations: 0 / 445 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1495, allocations: 0 / 445 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.1496, allocations: 27.98 kB / 445.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.1499, allocations: 284.8 kB / 445.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1502, allocations: 50.5 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.1502, allocations: 12.94 kB / 445.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1502, allocations: 4 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1503, allocations: 38.56 kB / 445.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1503, allocations: 0 / 445.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004993/0.1508, allocations: 145.2 kB / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1508, allocations: 55.39 kB / 445.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.151, allocations: 190.1 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.151, allocations: 29.7 kB / 445.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.151, allocations: 108 kB / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.151, allocations: 11.81 kB / 446 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.1511, allocations: 21.7 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.1512, allocations: 326.7 kB / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.1512, allocations: 23.97 kB / 446.3 MB, free: 1.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.1513, allocations: 19.98 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1514, allocations: 60.95 kB / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1514, allocations: 4 kB / 446.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001437/0.1515, allocations: 81.56 kB / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1516, allocations: 5.25 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1516, allocations: 4 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1516, allocations: 0 / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.1517, allocations: 8 kB / 446.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1517, allocations: 0 / 446.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.1517, allocations: 15.98 kB / 446.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.1517, allocations: 0 / 446.5 MB, free: 1.332 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.1518, allocations: 133.7 kB / 446.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1518, allocations: 7.906 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.152, allocations: 101.8 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.152, allocations: 0 / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1521, allocations: 0 / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1521, allocations: 4 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.1524, allocations: 362.4 kB / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1524, allocations: 0 / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.1524, allocations: 15.98 kB / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1524, allocations: 4 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.1525, allocations: 0 / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1525, allocations: 3.938 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1525, allocations: 0 / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.1526, allocations: 191.5 kB / 447.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.1527, allocations: 81.02 kB / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1527, allocations: 4 kB / 447.4 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.1528, allocations: 7.922 kB / 447.4 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1528, allocations: 8.281 kB / 447.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1528, allocations: 0 / 447.4 MB, free: 332 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.665e-05/0.1529, allocations: 155.2 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1532, allocations: 16 kB / 447.6 MB, free: 160 kB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009294/0.1541, allocations: 412.4 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.1543, allocations: 51.95 kB / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1543, allocations: 0 / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.437e-05/0.1544, allocations: 35.92 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.1547, allocations: 15.98 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.1551, allocations: 210 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1554, allocations: 0.6963 MB / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.1555, allocations: 11.98 kB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.1555, allocations: 15.44 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1555, allocations: 0 / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Templates: time 0.003828/0.1593, allocations: 1.12 MB / 450.2 MB, free: 13.63 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches