Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001531, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007298/0.0007299, allocations: 91.78 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.286/0.286, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002359, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2459, allocations: 63.1 MB / 0.5214 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001327/0.2472, allocations: 1.296 MB / 0.5226 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2484, allocations: 1.399 MB / 0.524 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.2485, allocations: 0 / 0.524 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.2486, allocations: 18.81 kB / 0.524 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.2488, allocations: 72.81 kB / 0.5241 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.249, allocations: 82.47 kB / 0.5242 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.2491, allocations: 60.28 kB / 0.5242 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.082e-05/0.2492, allocations: 13.12 kB / 0.5242 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.2492, allocations: 27.75 kB / 0.5243 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.2494, allocations: 28 kB / 0.5243 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2494, allocations: 2.969 kB / 0.5243 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2495, allocations: 87.38 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.2496, allocations: 2.719 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.2496, allocations: 51.28 kB / 0.5244 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2498, allocations: 136.7 kB / 0.5246 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2498, allocations: 4 kB / 0.5246 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2498, allocations: 0 / 0.5246 GB, free: 36.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2498, allocations: 0 / 0.5246 GB, free: 36.08 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.0003232/0.2501, allocations: 389 kB / 0.5249 GB, free: 35.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2502, allocations: 8.125 kB / 0.5249 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.2502, allocations: 7.656 kB / 0.525 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2503, allocations: 197.7 kB / 0.5251 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.2503, allocations: 384 / 0.5251 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.2504, allocations: 10.81 kB / 0.5252 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.2505, allocations: 67.27 kB / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2505, allocations: 0 / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2505, allocations: 3 kB / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2505, allocations: 0 / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.2506, allocations: 26.08 kB / 0.5252 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.2508, allocations: 281.3 kB / 0.5255 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.251, allocations: 39.39 kB / 0.5256 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.2511, allocations: 20.42 kB / 0.5256 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2511, allocations: 0 / 0.5256 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073e-05/0.2511, allocations: 37.5 kB / 0.5256 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.2511, allocations: 0 / 0.5256 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004431/0.2515, allocations: 152.5 kB / 0.5258 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.2516, allocations: 83.7 kB / 0.5258 GB, free: 34.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.2517, allocations: 145.1 kB / 0.526 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.2517, allocations: 25.7 kB / 0.526 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.2517, allocations: 91.05 kB / 0.5261 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.2517, allocations: 25.92 kB / 0.5261 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.2517, allocations: 3.938 kB / 0.5261 GB, free: 34.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.2518, allocations: 329.1 kB / 0.5264 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.2518, allocations: 22.83 kB / 0.5264 GB, free: 34.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-05/0.2519, allocations: 33.92 kB / 0.5265 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.252, allocations: 59.77 kB / 0.5265 GB, free: 34.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.252, allocations: 0 / 0.5265 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000142/0.2522, allocations: 88.34 kB / 0.5266 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.2522, allocations: 5.906 kB / 0.5266 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2522, allocations: 4 kB / 0.5266 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.2522, allocations: 0 / 0.5266 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.2523, allocations: 18.3 kB / 0.5266 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2523, allocations: 0 / 0.5266 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.2523, allocations: 9.594 kB / 0.5267 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2523, allocations: 6.75 kB / 0.5267 GB, free: 34.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.2524, allocations: 112.7 kB / 0.5268 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.2524, allocations: 6.844 kB / 0.5268 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.2526, allocations: 106.2 kB / 0.5269 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2526, allocations: 0 / 0.5269 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2526, allocations: 7.094 kB / 0.5269 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2526, allocations: 0 / 0.5269 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.2529, allocations: 358.5 kB / 0.5272 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2529, allocations: 3.328 kB / 0.5272 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.253, allocations: 11.25 kB / 0.5272 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.253, allocations: 2.938 kB / 0.5272 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.253, allocations: 0 / 0.5272 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.253, allocations: 7.266 kB / 0.5272 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.253, allocations: 4 kB / 0.5273 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.2532, allocations: 182.9 kB / 0.5274 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.2532, allocations: 88.39 kB / 0.5275 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2532, allocations: 2.938 kB / 0.5275 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.2533, allocations: 16.89 kB / 0.5275 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.2533, allocations: 3.656 kB / 0.5275 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2534, allocations: 7 kB / 0.5275 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.2534, allocations: 108.1 kB / 0.5276 GB, free: 33.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2534, allocations: 0 / 0.5276 GB, free: 33.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.2536, allocations: 43.22 kB / 0.5277 GB, free: 33.29 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 (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.0008732/0.2545, allocations: 0.5523 MB / 0.5282 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.2547, allocations: 61.48 kB / 0.5283 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2547, allocations: 0 / 0.5283 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/0.2548, allocations: 27.2 kB / 0.5283 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.255, allocations: 12.42 kB / 0.5283 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.2553, allocations: 190.6 kB / 0.5285 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.967e-05/0.2554, allocations: 0.6895 MB / 0.5292 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.436e-05/0.2555, allocations: 18.27 kB / 0.5292 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.2555, allocations: 19.19 kB / 0.5292 GB, free: 32.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2555, allocations: 0 / 0.5292 GB, free: 32.07 MB / 378.7 MB Notification: Performance of Templates: time 0.00315/0.2587, allocations: 1.707 MB / 0.5309 GB, free: 31.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches