Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001098, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 75.88 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2974, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002699/0.3002, allocations: 1.676 MB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.3012, allocations: 0.5755 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.3012, allocations: 1.375 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.3014, allocations: 49.62 kB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.3017, allocations: 90.88 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.3021, allocations: 182.2 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3023, allocations: 88.78 kB / 0.5343 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3024, allocations: 30.31 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.3025, allocations: 37.8 kB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.3026, allocations: 41.22 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3026, allocations: 4.031 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3027, allocations: 45.33 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.3028, allocations: 24.88 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.3028, allocations: 33.59 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.303, allocations: 117.9 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.303, allocations: 1.062 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.303, allocations: 0 / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3031, allocations: 0 / 0.5346 GB, free: 11.38 MB / 398.1 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.0004802/0.3035, allocations: 416.1 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.3036, allocations: 9.062 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3036, allocations: 9.531 kB / 0.535 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3038, allocations: 202.8 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3038, allocations: 2.656 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3039, allocations: 6.688 kB / 0.5352 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.304, allocations: 73.28 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3041, allocations: 5.094 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3041, allocations: 0 / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3041, allocations: 1.156 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3042, allocations: 49.45 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.3047, allocations: 318.8 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3049, allocations: 56.92 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.305, allocations: 34.66 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.305, allocations: 0 / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.305, allocations: 31.94 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3051, allocations: 4 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0015/0.3066, allocations: 425.2 kB / 0.5362 GB, free: 9.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3066, allocations: 56.75 kB / 0.5362 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3068, allocations: 182.6 kB / 0.5364 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3068, allocations: 26.83 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.3069, allocations: 104.4 kB / 0.5365 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.3069, allocations: 44.81 kB / 0.5366 GB, free: 9.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.307, allocations: 25.23 kB / 0.5366 GB, free: 9.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.3071, allocations: 318.2 kB / 0.5369 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3072, allocations: 56.45 kB / 0.5369 GB, free: 9.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3074, allocations: 57.33 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.3077, allocations: 129.2 kB / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3077, allocations: 0 / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003468/0.308, allocations: 163.4 kB / 0.5373 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.308, allocations: 5.344 kB / 0.5373 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3081, allocations: 1.062 kB / 0.5373 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3081, allocations: 4 kB / 0.5373 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3082, allocations: 33.2 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3082, allocations: 0 / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.3083, allocations: 14.36 kB / 0.5373 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3083, allocations: 2.969 kB / 0.5373 GB, free: 9.039 MB / 398.1 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 (11): * Single equations (assignments): 11 * 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.0001055/0.3084, allocations: 127.8 kB / 0.5375 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.3085, allocations: 12.56 kB / 0.5375 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.3089, allocations: 193.4 kB / 0.5377 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3089, allocations: 6.188 kB / 0.5377 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3089, allocations: 0.5625 kB / 0.5377 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3089, allocations: 3.938 kB / 0.5377 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.3096, allocations: 0.4895 MB / 0.5381 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3096, allocations: 0 / 0.5381 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3097, allocations: 41.22 kB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3097, allocations: 1.188 kB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3098, allocations: 1.312 kB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3098, allocations: 1.5 kB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3098, allocations: 1.469 kB / 0.5382 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3102, allocations: 281 kB / 0.5385 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.3102, allocations: 83.58 kB / 0.5385 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3102, allocations: 2.719 kB / 0.5385 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3103, allocations: 21.3 kB / 0.5386 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.3104, allocations: 9.047 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3104, allocations: 2.781 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.3105, allocations: 136 kB / 0.5387 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3105, allocations: 0 / 0.5387 GB, free: 7.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.3108, allocations: 30.52 kB / 0.5387 GB, free: 7.871 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001004/0.3118, allocations: 458.3 kB / 0.5392 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.3122, allocations: 128.2 kB / 0.5393 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3122, allocations: 0 / 0.5393 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3124, allocations: 71.2 kB / 0.5394 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3127, allocations: 27.42 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.3133, allocations: 326.5 kB / 0.5397 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3136, allocations: 0.718 MB / 0.5404 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.3136, allocations: 16.19 kB / 0.5404 GB, free: 6.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3137, allocations: 0 / 0.5404 GB, free: 6.551 MB / 398.1 MB Notification: Performance of Templates: time 0.003711/0.3174, allocations: 2.052 MB / 0.5424 GB, free: 5.488 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches