Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 196.1 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008021/0.0008021, allocations: 102.2 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2828/0.2828, allocations: 45.01 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000222/0.000222, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2305, allocations: 63.1 MB / 0.5214 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001322/0.2319, allocations: 1.304 MB / 0.5226 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.2326, allocations: 0.7348 MB / 0.5234 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.2326, allocations: 0 / 0.5234 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.2328, allocations: 72.95 kB / 0.5234 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.233, allocations: 85.56 kB / 0.5235 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.2332, allocations: 79.69 kB / 0.5236 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2333, allocations: 75.48 kB / 0.5237 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.2334, allocations: 19.52 kB / 0.5237 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.2335, allocations: 24.48 kB / 0.5237 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.2335, allocations: 47.69 kB / 0.5237 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2335, allocations: 7.312 kB / 0.5238 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.2336, allocations: 40.66 kB / 0.5238 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.2337, allocations: 17.25 kB / 0.5238 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.2337, allocations: 58.47 kB / 0.5239 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.2339, allocations: 93.92 kB / 0.524 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2339, allocations: 0 / 0.524 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2339, allocations: 0 / 0.524 GB, free: 36.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.2339, allocations: 0 / 0.524 GB, free: 36.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002903/0.2342, allocations: 400.8 kB / 0.5243 GB, free: 35.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.2342, allocations: 13.06 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.2342, allocations: 7.812 kB / 0.5244 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2344, allocations: 194.9 kB / 0.5245 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.2344, allocations: 7.438 kB / 0.5246 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2344, allocations: 4.281 kB / 0.5246 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2345, allocations: 62.7 kB / 0.5246 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2345, allocations: 2.938 kB / 0.5246 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.2345, allocations: 3.938 kB / 0.5246 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2346, allocations: 0 / 0.5246 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.2346, allocations: 34.38 kB / 0.5247 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.2349, allocations: 290.2 kB / 0.5249 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.235, allocations: 48.61 kB / 0.525 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.235, allocations: 24.8 kB / 0.525 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2351, allocations: 0 / 0.525 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.989e-06/0.2351, allocations: 30.56 kB / 0.525 GB, free: 35.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2351, allocations: 2.875 kB / 0.525 GB, free: 35.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006919/0.2358, allocations: 253.2 kB / 0.5253 GB, free: 35.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.562e-05/0.2358, allocations: 54.28 kB / 0.5253 GB, free: 35.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2359, allocations: 209.5 kB / 0.5255 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-06/0.2359, allocations: 29.7 kB / 0.5256 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.236, allocations: 98.86 kB / 0.5256 GB, free: 34.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.236, allocations: 26.95 kB / 0.5257 GB, free: 34.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.236, allocations: 0 / 0.5257 GB, free: 34.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.2361, allocations: 324.9 kB / 0.526 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.2361, allocations: 31.75 kB / 0.526 GB, free: 34.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.2362, allocations: 24.86 kB / 0.526 GB, free: 34.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.2363, allocations: 73.86 kB / 0.5261 GB, free: 34.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2363, allocations: 0 / 0.5261 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001635/0.2365, allocations: 108 kB / 0.5262 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2365, allocations: 5.938 kB / 0.5262 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.2365, allocations: 0 / 0.5262 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2365, allocations: 0 / 0.5262 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.2366, allocations: 27.75 kB / 0.5262 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.2366, allocations: 0 / 0.5262 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.2367, allocations: 16.84 kB / 0.5263 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2367, allocations: 2.781 kB / 0.5263 GB, free: 34.44 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 (8): * Single equations (assignments): 8 * 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 5.31e-05/0.2368, allocations: 127 kB / 0.5264 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.2368, allocations: 9.438 kB / 0.5264 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.237, allocations: 132.2 kB / 0.5265 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.237, allocations: 0 / 0.5265 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.237, allocations: 0 / 0.5265 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.237, allocations: 7.172 kB / 0.5265 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.2374, allocations: 414.9 kB / 0.5269 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2374, allocations: 4 kB / 0.5269 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.2375, allocations: 18.72 kB / 0.5269 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2375, allocations: 6.844 kB / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2375, allocations: 3.469 kB / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2375, allocations: 32 / 0.527 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2375, allocations: 6.562 kB / 0.527 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.2377, allocations: 210.6 kB / 0.5272 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.2377, allocations: 98.02 kB / 0.5273 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2377, allocations: 4 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.2378, allocations: 5.812 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.2378, allocations: 10.42 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2379, allocations: 3.062 kB / 0.5273 GB, free: 33.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.007e-05/0.2379, allocations: 158 kB / 0.5274 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2379, allocations: 0 / 0.5274 GB, free: 33.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.2382, allocations: 19.09 kB / 0.5274 GB, free: 33.49 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008193/0.239, allocations: 0.5088 MB / 0.5279 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.2392, allocations: 78.81 kB / 0.528 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2392, allocations: 0 / 0.528 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.2392, allocations: 35.5 kB / 0.5281 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.2395, allocations: 20.89 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.2398, allocations: 274.1 kB / 0.5283 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.847e-05/0.24, allocations: 0.7025 MB / 0.529 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.399e-05/0.24, allocations: 16.53 kB / 0.529 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.425e-05/0.24, allocations: 13.44 kB / 0.529 GB, free: 32.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.24, allocations: 0 / 0.529 GB, free: 32.23 MB / 378.7 MB Notification: Performance of Templates: time 0.002792/0.2428, allocations: 1.276 MB / 0.5303 GB, free: 32.07 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches