Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007693/0.0007693, allocations: 86.92 kB / 299.8 MB, free: 5.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2946/0.2946, allocations: 45 MB / 397 MB, free: 31.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 8 kB / 470.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2846, allocations: 63.09 MB / 0.5214 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001502/0.2862, allocations: 1.308 MB / 0.5227 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2875, allocations: 1.421 MB / 0.524 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.2876, allocations: 2.969 kB / 0.524 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2878, allocations: 35.69 kB / 0.5241 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.288, allocations: 58.81 kB / 0.5241 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2882, allocations: 95.05 kB / 0.5242 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.2884, allocations: 77.7 kB / 0.5243 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.2885, allocations: 20.88 kB / 0.5243 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.2885, allocations: 20.47 kB / 0.5243 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.2886, allocations: 37.8 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2887, allocations: 6.906 kB / 0.5244 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2888, allocations: 81.53 kB / 0.5245 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.2888, allocations: 16.86 kB / 0.5245 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.2889, allocations: 46.8 kB / 0.5245 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.2891, allocations: 151.9 kB / 0.5247 GB, free: 36.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2891, allocations: 6.25 kB / 0.5247 GB, free: 36.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2891, allocations: 0 / 0.5247 GB, free: 36.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.2891, allocations: 0 / 0.5247 GB, free: 36.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000372/0.2895, allocations: 396.2 kB / 0.525 GB, free: 35.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2895, allocations: 8.438 kB / 0.5251 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.2896, allocations: 10.25 kB / 0.5251 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.2897, allocations: 196.5 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.2897, allocations: 7.219 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.2897, allocations: 7.094 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.2899, allocations: 81.45 kB / 0.5253 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2899, allocations: 2.781 kB / 0.5253 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2899, allocations: 0 / 0.5253 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2899, allocations: 0 / 0.5253 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.29, allocations: 47 kB / 0.5254 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.2904, allocations: 314.9 kB / 0.5257 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.2905, allocations: 52.23 kB / 0.5257 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.2906, allocations: 34.33 kB / 0.5258 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2906, allocations: 0 / 0.5258 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2907, allocations: 33.89 kB / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.2907, allocations: 0 / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005939/0.2913, allocations: 212.6 kB / 0.526 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2913, allocations: 80.34 kB / 0.5261 GB, free: 34.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2914, allocations: 150 kB / 0.5262 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2915, allocations: 29.7 kB / 0.5263 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.2915, allocations: 96.98 kB / 0.5263 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2915, allocations: 34.58 kB / 0.5264 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.2916, allocations: 0 / 0.5264 GB, free: 34.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.2916, allocations: 321.2 kB / 0.5267 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.2917, allocations: 30.45 kB / 0.5267 GB, free: 34.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.2918, allocations: 46.09 kB / 0.5268 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.2919, allocations: 86.48 kB / 0.5268 GB, free: 34.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2919, allocations: 0 / 0.5268 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001874/0.2921, allocations: 119.5 kB / 0.527 GB, free: 34.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2921, allocations: 2.938 kB / 0.527 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2922, allocations: 0 / 0.527 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2922, allocations: 2.969 kB / 0.527 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.2923, allocations: 17.62 kB / 0.527 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2923, allocations: 7.875 kB / 0.527 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.2923, allocations: 9.641 kB / 0.527 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2924, allocations: 6.781 kB / 0.527 GB, free: 34.08 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 6.666e-05/0.2924, allocations: 119.6 kB / 0.5271 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.2925, allocations: 13.27 kB / 0.5271 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.2927, allocations: 139.1 kB / 0.5273 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2927, allocations: 3.281 kB / 0.5273 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2927, allocations: 10.84 kB / 0.5273 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2928, allocations: 4 kB / 0.5273 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.2931, allocations: 407.1 kB / 0.5277 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2931, allocations: 0 / 0.5277 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.2932, allocations: 21.81 kB / 0.5277 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2932, allocations: 3.938 kB / 0.5277 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2932, allocations: 3.031 kB / 0.5277 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2932, allocations: 0 / 0.5277 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2932, allocations: 0 / 0.5277 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.2935, allocations: 222.7 kB / 0.5279 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.2935, allocations: 91.02 kB / 0.528 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.2935, allocations: 6.625 kB / 0.528 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.2936, allocations: 9.125 kB / 0.528 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.2936, allocations: 2.906 kB / 0.528 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2937, allocations: 2.625 kB / 0.528 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.852e-05/0.2937, allocations: 122 kB / 0.5281 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2937, allocations: 0 / 0.5281 GB, free: 33.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.294, allocations: 42.03 kB / 0.5282 GB, free: 33.14 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 (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.0009989/0.295, allocations: 0.5553 MB / 0.5287 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2952, allocations: 82 kB / 0.5288 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2952, allocations: 2.906 kB / 0.5288 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.2953, allocations: 49.08 kB / 0.5288 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.2956, allocations: 16.11 kB / 0.5289 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.296, allocations: 229 kB / 0.5291 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.2961, allocations: 0.6998 MB / 0.5298 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.2962, allocations: 19.58 kB / 0.5298 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2962, allocations: 20.38 kB / 0.5298 GB, free: 31.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2962, allocations: 3.938 kB / 0.5298 GB, free: 31.88 MB / 378.7 MB Notification: Performance of Templates: time 0.003866/0.3001, allocations: 1.807 MB / 0.5316 GB, free: 31.67 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches