Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 197.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, 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.0007227/0.0007227, allocations: 100.2 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.328/0.328, allocations: 45.01 MB / 397 MB, free: 31.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002533/0.0002536, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2688, allocations: 63.1 MB / 0.5214 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.001601/0.2705, allocations: 1.361 MB / 0.5227 GB, free: 37.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.2713, allocations: 0.7786 MB / 0.5235 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.2714, allocations: 4 kB / 0.5235 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.2718, allocations: 449.3 kB / 0.5239 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.2722, allocations: 272.6 kB / 0.5242 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.2726, allocations: 162.5 kB / 0.5243 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.2728, allocations: 174.8 kB / 0.5245 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.2729, allocations: 20.08 kB / 0.5245 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.273, allocations: 102.5 kB / 0.5246 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2732, allocations: 208.9 kB / 0.5248 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2732, allocations: 0 / 0.5248 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2734, allocations: 39.97 kB / 0.5248 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.2735, allocations: 88.08 kB / 0.5249 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.2735, allocations: 129.5 kB / 0.525 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.2738, allocations: 266.9 kB / 0.5253 GB, free: 36.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2738, allocations: 0 / 0.5253 GB, free: 36.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2738, allocations: 0 / 0.5253 GB, free: 36.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2738, allocations: 2.906 kB / 0.5253 GB, free: 36.41 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.000497/0.2743, allocations: 0.595 MB / 0.5259 GB, free: 35.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2743, allocations: 12.19 kB / 0.5259 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.2744, allocations: 44.41 kB / 0.5259 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.2746, allocations: 298.4 kB / 0.5262 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.2746, allocations: 384 / 0.5262 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.2746, allocations: 15.16 kB / 0.5262 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2748, allocations: 65.86 kB / 0.5263 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2748, allocations: 0 / 0.5263 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2748, allocations: 0 / 0.5263 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2748, allocations: 3 kB / 0.5263 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.2749, allocations: 35.25 kB / 0.5263 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.2753, allocations: 412.3 kB / 0.5267 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.2754, allocations: 48.11 kB / 0.5268 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.2755, allocations: 18.53 kB / 0.5268 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2755, allocations: 4 kB / 0.5268 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.2755, allocations: 42.53 kB / 0.5268 GB, free: 35.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2755, allocations: 0 / 0.5268 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008232/0.2764, allocations: 352 kB / 0.5272 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.2764, allocations: 55.34 kB / 0.5272 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/0.277, allocations: 0.8682 MB / 0.5281 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.277, allocations: 28.7 kB / 0.5281 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2772, allocations: 222.2 kB / 0.5283 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.2772, allocations: 29.86 kB / 0.5283 GB, free: 34.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.2772, allocations: 0 / 0.5283 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.2773, allocations: 362.2 kB / 0.5287 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.2773, allocations: 38.81 kB / 0.5287 GB, free: 33.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.2774, allocations: 34.88 kB / 0.5288 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2776, allocations: 85.05 kB / 0.5288 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2776, allocations: 0 / 0.5288 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002038/0.2778, allocations: 160.1 kB / 0.529 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2778, allocations: 2.531 kB / 0.529 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2778, allocations: 3.156 kB / 0.529 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2778, allocations: 0 / 0.529 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.2779, allocations: 17.75 kB / 0.529 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2779, allocations: 3.938 kB / 0.529 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.451e-05/0.278, allocations: 14.16 kB / 0.529 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.278, allocations: 6.688 kB / 0.529 GB, free: 33.84 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 0.0001484/0.2782, allocations: 211.7 kB / 0.5292 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.2782, allocations: 45.28 kB / 0.5293 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.2785, allocations: 185.1 kB / 0.5295 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.2785, allocations: 3.328 kB / 0.5295 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2785, allocations: 3.938 kB / 0.5295 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2785, allocations: 3.062 kB / 0.5295 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.279, allocations: 0.5223 MB / 0.53 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.279, allocations: 3.938 kB / 0.53 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.2791, allocations: 16.92 kB / 0.53 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2791, allocations: 2.875 kB / 0.53 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.2791, allocations: 0 / 0.53 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2791, allocations: 7.031 kB / 0.53 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2791, allocations: 0 / 0.53 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.2794, allocations: 262.6 kB / 0.5303 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.2794, allocations: 118.6 kB / 0.5304 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.2795, allocations: 0 / 0.5304 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.2795, allocations: 12.92 kB / 0.5304 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.2796, allocations: 10.11 kB / 0.5304 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2796, allocations: 2.781 kB / 0.5304 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004375/0.28, allocations: 0.6497 MB / 0.531 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.28, allocations: 2.156 kB / 0.531 GB, free: 32.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.2803, allocations: 29.45 kB / 0.5311 GB, free: 32.63 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.0008435/0.2811, allocations: 0.5101 MB / 0.5316 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2813, allocations: 85.67 kB / 0.5316 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2814, allocations: 3.938 kB / 0.5316 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/0.2814, allocations: 46.91 kB / 0.5317 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.2818, allocations: 26.64 kB / 0.5317 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008681/0.2827, allocations: 0.9274 MB / 0.5326 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.2829, allocations: 0.8289 MB / 0.5334 GB, free: 31.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.093e-05/0.283, allocations: 22.91 kB / 0.5334 GB, free: 31.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.283, allocations: 21.47 kB / 0.5335 GB, free: 31.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.283, allocations: 0 / 0.5335 GB, free: 31.06 MB / 378.7 MB Notification: Performance of Templates: time 0.004261/0.2873, allocations: 1.654 MB / 0.5351 GB, free: 30.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches