Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.CombiTable1Dv.Test26") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000935/0.0009351, allocations: 199.6 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007015/0.0007015, allocations: 95.69 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3094/0.3094, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002638, allocations: 8 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2672, allocations: 63.11 MB / 0.5214 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002476/0.2698, allocations: 1.311 MB / 0.5227 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2709, allocations: 0.7357 MB / 0.5234 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.271, allocations: 2.469 kB / 0.5234 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.2713, allocations: 80.03 kB / 0.5235 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.2717, allocations: 86.61 kB / 0.5235 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.272, allocations: 97.94 kB / 0.5236 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.2722, allocations: 83.28 kB / 0.5237 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2723, allocations: 17.52 kB / 0.5237 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.2724, allocations: 28.31 kB / 0.5237 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.2725, allocations: 54.42 kB / 0.5238 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2725, allocations: 0 / 0.5238 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2726, allocations: 42.47 kB / 0.5238 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.2727, allocations: 19.22 kB / 0.5239 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.2728, allocations: 54.8 kB / 0.5239 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2729, allocations: 105.8 kB / 0.524 GB, free: 36.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2729, allocations: 2.438 kB / 0.524 GB, free: 36.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2729, allocations: 0 / 0.524 GB, free: 36.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2729, allocations: 0 / 0.524 GB, free: 36.59 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.0003835/0.2733, allocations: 400.2 kB / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2734, allocations: 8.281 kB / 0.5244 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.2734, allocations: 14.66 kB / 0.5244 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2736, allocations: 198.4 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2736, allocations: 3.156 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2736, allocations: 4.375 kB / 0.5246 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2737, allocations: 65.34 kB / 0.5247 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2738, allocations: 0 / 0.5247 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2738, allocations: 0 / 0.5247 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2738, allocations: 0 / 0.5247 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-05/0.2739, allocations: 36.48 kB / 0.5247 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.2743, allocations: 305.5 kB / 0.525 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.2744, allocations: 46.25 kB / 0.525 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.2744, allocations: 18.89 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.2744, allocations: 11.31 kB / 0.5251 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.2745, allocations: 33.7 kB / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.2745, allocations: 0 / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008141/0.2753, allocations: 258.8 kB / 0.5254 GB, free: 35.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2753, allocations: 61.94 kB / 0.5254 GB, free: 35.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2755, allocations: 215.6 kB / 0.5256 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.2755, allocations: 25.7 kB / 0.5256 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.2755, allocations: 109.1 kB / 0.5257 GB, free: 35.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2756, allocations: 22.5 kB / 0.5258 GB, free: 35.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.2756, allocations: 3.938 kB / 0.5258 GB, free: 35.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.2756, allocations: 327 kB / 0.5261 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.2757, allocations: 39.47 kB / 0.5261 GB, free: 34.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.2758, allocations: 33.78 kB / 0.5262 GB, free: 34.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2759, allocations: 79.84 kB / 0.5262 GB, free: 34.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2759, allocations: 0 / 0.5262 GB, free: 34.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001849/0.2761, allocations: 129.6 kB / 0.5264 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2762, allocations: 5.094 kB / 0.5264 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2762, allocations: 320 / 0.5264 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2762, allocations: 0 / 0.5264 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.2763, allocations: 22.88 kB / 0.5264 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2763, allocations: 6.594 kB / 0.5264 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.2763, allocations: 14.89 kB / 0.5264 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2764, allocations: 11.42 kB / 0.5264 GB, free: 34.62 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.177e-05/0.2764, allocations: 122 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.2765, allocations: 13.67 kB / 0.5265 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.2767, allocations: 138.8 kB / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2767, allocations: 0 / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2767, allocations: 0 / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2767, allocations: 3.938 kB / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.2772, allocations: 432.1 kB / 0.5271 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2772, allocations: 3.938 kB / 0.5271 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.2772, allocations: 20.78 kB / 0.5271 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2772, allocations: 3.938 kB / 0.5271 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2773, allocations: 4 kB / 0.5271 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2773, allocations: 3.062 kB / 0.5271 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2773, allocations: 0 / 0.5271 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.2775, allocations: 214.2 kB / 0.5273 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.2775, allocations: 99.12 kB / 0.5274 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.2775, allocations: 0 / 0.5274 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.2776, allocations: 17.02 kB / 0.5274 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.2777, allocations: 7.094 kB / 0.5274 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2777, allocations: 2.969 kB / 0.5275 GB, free: 33.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.235e-05/0.2778, allocations: 164.4 kB / 0.5276 GB, free: 33.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.2778, allocations: 0 / 0.5276 GB, free: 33.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.278, allocations: 26.47 kB / 0.5276 GB, free: 33.67 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.0008768/0.2789, allocations: 0.5099 MB / 0.5281 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2791, allocations: 81.3 kB / 0.5282 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2791, allocations: 4 kB / 0.5282 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.2792, allocations: 40.92 kB / 0.5283 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.2795, allocations: 21.62 kB / 0.5283 GB, free: 33.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.2799, allocations: 306.8 kB / 0.5286 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.28, allocations: 0.7104 MB / 0.5293 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.462e-05/0.2801, allocations: 29.7 kB / 0.5293 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.2801, allocations: 13.41 kB / 0.5293 GB, free: 32.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2802, allocations: 0 / 0.5293 GB, free: 32.39 MB / 378.7 MB Notification: Performance of Templates: time 0.003212/0.2834, allocations: 1.313 MB / 0.5306 GB, free: 32.23 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches