Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 101.4 kB / 15.98 MB, free: 6.344 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.001573/0.001574, allocations: 189.1 kB / 16.9 MB, free: 6.184 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.831/1.831, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.439/0.439, allocations: 43.5 MB / 313.6 MB, free: 8.508 MB / 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.001523/0.001522, allocations: 75.89 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.198, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.004528/0.2026, allocations: 1.61 MB / 441.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2045, allocations: 0.9104 MB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.2046, allocations: 0 / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.205, allocations: 23.92 kB / 442.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.2053, allocations: 35.84 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.2055, allocations: 67.86 kB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.2057, allocations: 51.91 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2059, allocations: 15.97 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.2059, allocations: 23.86 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.2061, allocations: 27.84 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.2062, allocations: 4 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.2063, allocations: 55.86 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.2064, allocations: 15.98 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.2064, allocations: 19.86 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2067, allocations: 92 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2067, allocations: 0 / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.2067, allocations: 0 / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.2067, allocations: 0 / 443 MB, free: 11.77 MB / 382.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.0007361/0.2075, allocations: 379.2 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.2075, allocations: 11.89 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.2076, allocations: 4.938 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.2079, allocations: 192.1 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2079, allocations: 4.375 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.2079, allocations: 8.281 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.2081, allocations: 67.52 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.2082, allocations: 0 / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2082, allocations: 0 / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2082, allocations: 0 / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.2083, allocations: 19.98 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.2087, allocations: 276.8 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.209, allocations: 46.55 kB / 443.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.209, allocations: 16.94 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.2091, allocations: 4 kB / 444 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2091, allocations: 34.56 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2091, allocations: 0 / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005914/0.2097, allocations: 129.4 kB / 444.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.2098, allocations: 81.11 kB / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2099, allocations: 133.8 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.21, allocations: 29.7 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.2101, allocations: 103.9 kB / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.2101, allocations: 15.8 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.2101, allocations: 17.72 kB / 444.5 MB, free: 10 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2103, allocations: 322.8 kB / 444.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.2104, allocations: 19.98 kB / 444.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.2105, allocations: 29.7 kB / 444.9 MB, free: 9.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.2106, allocations: 48.86 kB / 444.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2106, allocations: 0 / 444.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001763/0.2108, allocations: 77.77 kB / 445 MB, free: 9.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2108, allocations: 4 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2108, allocations: 12 kB / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2109, allocations: 0 / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.2109, allocations: 15.92 kB / 445 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2109, allocations: 0 / 445 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.211, allocations: 11.94 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.211, allocations: 0 / 445 MB, free: 9.449 MB / 382.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 9.713e-05/0.2111, allocations: 121.8 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2111, allocations: 7.984 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.2114, allocations: 85.62 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2114, allocations: 0 / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2114, allocations: 4 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2114, allocations: 0 / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.2119, allocations: 350.4 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2119, allocations: 0 / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.2119, allocations: 11.98 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2119, allocations: 0 / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2119, allocations: 4 kB / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.212, allocations: 3.938 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.212, allocations: 4 kB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.2122, allocations: 175.5 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.2123, allocations: 81.02 kB / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2123, allocations: 192 / 445.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.2124, allocations: 15.94 kB / 445.9 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.2124, allocations: 7.984 kB / 445.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.2124, allocations: 4 kB / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.432e-05/0.2125, allocations: 103.3 kB / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2125, allocations: 0 / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.2128, allocations: 27.98 kB / 446 MB, free: 8.355 MB / 382.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.00112/0.2139, allocations: 443 kB / 446.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.2142, allocations: 51.91 kB / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2142, allocations: 0 / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/0.2143, allocations: 23.98 kB / 446.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.2147, allocations: 27.72 kB / 446.5 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.2151, allocations: 173.6 kB / 446.7 MB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.2155, allocations: 0.6846 MB / 447.4 MB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.993e-05/0.2156, allocations: 11.92 kB / 447.4 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.2156, allocations: 15.38 kB / 447.4 MB, free: 6.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2156, allocations: 0 / 447.4 MB, free: 6.918 MB / 382.1 MB Notification: Performance of Templates: time 0.005151/0.2208, allocations: 1.319 MB / 448.7 MB, free: 5.602 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches