Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 75.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3102, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002873/0.3131, allocations: 1.66 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3148, allocations: 1.207 MB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.3149, allocations: 5.375 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.3151, allocations: 23.97 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.3154, allocations: 81.75 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.3158, allocations: 185 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.316, allocations: 79.39 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3162, allocations: 17.62 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.3163, allocations: 32.22 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3164, allocations: 40.16 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3164, allocations: 4.125 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3166, allocations: 101.5 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.3167, allocations: 25.41 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.3167, allocations: 21.38 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.3169, allocations: 158.6 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.317, allocations: 0 / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.317, allocations: 0 / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.317, allocations: 0 / 0.5352 GB, free: 10.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005379/0.3175, allocations: 414.7 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3176, allocations: 10.41 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.3176, allocations: 7.75 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3178, allocations: 199 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.3178, allocations: 1.531 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3178, allocations: 6.531 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.3181, allocations: 74.95 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3181, allocations: 1.094 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3181, allocations: 3.984 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3181, allocations: 1.062 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3183, allocations: 42.56 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.3187, allocations: 313.8 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3189, allocations: 45.31 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.319, allocations: 25.03 kB / 0.5363 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.319, allocations: 9.125 kB / 0.5363 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.319, allocations: 35.67 kB / 0.5364 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.319, allocations: 0 / 0.5364 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008752/0.3199, allocations: 230.6 kB / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.32, allocations: 78.17 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3201, allocations: 153.4 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3202, allocations: 30.77 kB / 0.5368 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.3202, allocations: 91.45 kB / 0.5369 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3202, allocations: 27.11 kB / 0.5369 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.3203, allocations: 19.31 kB / 0.537 GB, free: 9.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.3204, allocations: 329 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3205, allocations: 45.78 kB / 0.5373 GB, free: 8.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3207, allocations: 58.2 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.321, allocations: 86.42 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.321, allocations: 5.062 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000299/0.3213, allocations: 120.6 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3213, allocations: 7.562 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3213, allocations: 0 / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3213, allocations: 1.188 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3215, allocations: 22.27 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3215, allocations: 1.5 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.3216, allocations: 17.08 kB / 0.5376 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3216, allocations: 10.2 kB / 0.5376 GB, free: 8.66 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 (7): * Single equations (assignments): 7 * 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 8.81e-05/0.3217, allocations: 116.1 kB / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.3217, allocations: 7.312 kB / 0.5377 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.3221, allocations: 135.2 kB / 0.5379 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3222, allocations: 5.25 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3222, allocations: 7.922 kB / 0.5379 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3222, allocations: 3.938 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.3228, allocations: 406.3 kB / 0.5383 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3228, allocations: 1.281 kB / 0.5383 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.3229, allocations: 17.61 kB / 0.5383 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3229, allocations: 5.375 kB / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3229, allocations: 13.03 kB / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3229, allocations: 0 / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3229, allocations: 1.219 kB / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.3233, allocations: 231.9 kB / 0.5385 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.3234, allocations: 87.56 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3234, allocations: 9.375 kB / 0.5386 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.3235, allocations: 9.172 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.3235, allocations: 2.875 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.3236, allocations: 5.469 kB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.3237, allocations: 118.8 kB / 0.5388 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3237, allocations: 0 / 0.5388 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.324, allocations: 43.11 kB / 0.5388 GB, free: 7.621 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.001086/0.3251, allocations: 467.8 kB / 0.5392 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.3255, allocations: 105 kB / 0.5393 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3255, allocations: 3.938 kB / 0.5393 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.3256, allocations: 44.12 kB / 0.5394 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.326, allocations: 21.5 kB / 0.5394 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.3265, allocations: 245.8 kB / 0.5396 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3268, allocations: 0.7016 MB / 0.5403 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.3269, allocations: 18.92 kB / 0.5403 GB, free: 6.383 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3269, allocations: 1.125 kB / 0.5403 GB, free: 6.383 MB / 398.1 MB Notification: Performance of Templates: time 0.004495/0.3314, allocations: 2.197 MB / 0.5425 GB, free: 5.242 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches