Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 199.7 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.241/1.241, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007164/0.0007164, allocations: 99.69 kB / 299.9 MB, free: 5.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2971/0.2971, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002305, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2637, allocations: 63.09 MB / 0.5214 GB, free: 38.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001571/0.2653, allocations: 1.355 MB / 0.5227 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.2661, allocations: 0.7401 MB / 0.5234 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.2662, allocations: 3 kB / 0.5234 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004131/0.2666, allocations: 448.4 kB / 0.5238 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.2669, allocations: 279.1 kB / 0.5241 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.2672, allocations: 110.8 kB / 0.5242 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.2674, allocations: 164.4 kB / 0.5244 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.2675, allocations: 17.17 kB / 0.5244 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.2676, allocations: 105.5 kB / 0.5245 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.2677, allocations: 202.7 kB / 0.5247 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2678, allocations: 3.094 kB / 0.5247 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.2678, allocations: 28.62 kB / 0.5247 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.2679, allocations: 80.31 kB / 0.5248 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.268, allocations: 131 kB / 0.5249 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.2682, allocations: 236 kB / 0.5251 GB, free: 36.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2682, allocations: 3.938 kB / 0.5251 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2682, allocations: 2.562 kB / 0.5251 GB, free: 36.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.2682, allocations: 0 / 0.5251 GB, free: 36.47 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.0004574/0.2687, allocations: 0.5984 MB / 0.5257 GB, free: 35.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.2687, allocations: 9.281 kB / 0.5257 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.2688, allocations: 44.91 kB / 0.5258 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.269, allocations: 298.9 kB / 0.5261 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.269, allocations: 384 / 0.5261 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.269, allocations: 3.219 kB / 0.5261 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.2691, allocations: 56.17 kB / 0.5261 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2691, allocations: 0 / 0.5261 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2692, allocations: 3.938 kB / 0.5261 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2692, allocations: 0 / 0.5261 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.2693, allocations: 34.98 kB / 0.5262 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.2696, allocations: 382.7 kB / 0.5265 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.2698, allocations: 43.89 kB / 0.5266 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.2698, allocations: 20.97 kB / 0.5266 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2699, allocations: 4 kB / 0.5266 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.125e-05/0.2699, allocations: 30.56 kB / 0.5266 GB, free: 35.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2699, allocations: 2.875 kB / 0.5266 GB, free: 35.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004995/0.2704, allocations: 246.1 kB / 0.5269 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.2704, allocations: 51.41 kB / 0.5269 GB, free: 34.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.271, allocations: 0.8606 MB / 0.5277 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-06/0.271, allocations: 25.7 kB / 0.5278 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.2712, allocations: 221.2 kB / 0.528 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.2712, allocations: 17.66 kB / 0.528 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2712, allocations: 4 kB / 0.528 GB, free: 34.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.2713, allocations: 364.5 kB / 0.5283 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.286e-05/0.2713, allocations: 21.59 kB / 0.5284 GB, free: 34.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.325e-05/0.2714, allocations: 25.02 kB / 0.5284 GB, free: 34.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.2715, allocations: 54.09 kB / 0.5284 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.2715, allocations: 0 / 0.5284 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001701/0.2717, allocations: 129.3 kB / 0.5286 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2717, allocations: 8.453 kB / 0.5286 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2717, allocations: 4 kB / 0.5286 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2718, allocations: 3.938 kB / 0.5286 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.2718, allocations: 13.94 kB / 0.5286 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2718, allocations: 7.406 kB / 0.5286 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.2719, allocations: 9.844 kB / 0.5286 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2719, allocations: 0 / 0.5286 GB, free: 33.98 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 0.0001236/0.272, allocations: 210.6 kB / 0.5288 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.2721, allocations: 47.44 kB / 0.5289 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.2723, allocations: 140.7 kB / 0.529 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2723, allocations: 6.828 kB / 0.529 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2723, allocations: 0 / 0.529 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2723, allocations: 3.938 kB / 0.529 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.2727, allocations: 461.8 kB / 0.5294 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2727, allocations: 0 / 0.5294 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.2728, allocations: 22.98 kB / 0.5295 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2728, allocations: 0 / 0.5295 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2728, allocations: 3.938 kB / 0.5295 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2728, allocations: 4 kB / 0.5295 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2728, allocations: 2.719 kB / 0.5295 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.273, allocations: 213.7 kB / 0.5297 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.2731, allocations: 111.9 kB / 0.5298 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.2731, allocations: 8.188 kB / 0.5298 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.2732, allocations: 17.27 kB / 0.5298 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2732, allocations: 0 / 0.5298 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2732, allocations: 2.812 kB / 0.5298 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004373/0.2737, allocations: 0.6475 MB / 0.5304 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2737, allocations: 0 / 0.5304 GB, free: 32.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.2739, allocations: 20.5 kB / 0.5305 GB, free: 32.85 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.0007627/0.2747, allocations: 472.5 kB / 0.5309 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.2749, allocations: 50.62 kB / 0.531 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2749, allocations: 0 / 0.531 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.36e-05/0.2749, allocations: 28.95 kB / 0.531 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.2753, allocations: 34.09 kB / 0.531 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.2761, allocations: 0.8731 MB / 0.5319 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.2763, allocations: 0.8232 MB / 0.5327 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.123e-05/0.2763, allocations: 13.23 kB / 0.5327 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.2764, allocations: 12.69 kB / 0.5327 GB, free: 31.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2764, allocations: 0 / 0.5327 GB, free: 31.37 MB / 378.7 MB Notification: Performance of Templates: time 0.003701/0.2801, allocations: 1.377 MB / 0.5341 GB, free: 31.18 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches