Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 116.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 246.9 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.2435/0.2435, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 75.81 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.495, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.005747/0.5008, allocations: 1.618 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.5041, allocations: 1.158 MB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.5042, allocations: 1.062 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.5046, allocations: 32.48 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005479/0.5052, allocations: 81.42 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.5057, allocations: 87.44 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.506, allocations: 82.31 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.5062, allocations: 20.14 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.538e-05/0.5063, allocations: 26.25 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008388/0.5147, allocations: 31.95 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.5148, allocations: 4.969 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.5152, allocations: 104.3 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.5153, allocations: 19.94 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.5154, allocations: 25.31 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.5159, allocations: 157.6 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5159, allocations: 5.375 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.516, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.516, allocations: 0 / 0.5344 GB, free: 11.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007793/0.5168, allocations: 418.1 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.5168, allocations: 9.625 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.5169, allocations: 9.016 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.5173, allocations: 189.9 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.5173, allocations: 3.125 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.5174, allocations: 11.06 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.5176, allocations: 80 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5177, allocations: 1.375 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5177, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5177, allocations: 1.375 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.5179, allocations: 33.84 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.5184, allocations: 306.8 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.5186, allocations: 59.11 kB / 0.5354 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.5187, allocations: 18.61 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.5188, allocations: 3.984 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.5188, allocations: 31.94 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.5188, allocations: 0 / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009269/0.5198, allocations: 178.2 kB / 0.5357 GB, free: 9.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.5199, allocations: 78.17 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.5201, allocations: 159.2 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.5202, allocations: 30.86 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.5203, allocations: 99.22 kB / 0.536 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.5203, allocations: 23.09 kB / 0.536 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.5204, allocations: 24.34 kB / 0.5361 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5206, allocations: 325 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.5207, allocations: 29.78 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.5209, allocations: 39.05 kB / 0.5364 GB, free: 9.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.5212, allocations: 60.61 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5212, allocations: 384 / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003576/0.5215, allocations: 99.3 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5216, allocations: 4.344 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.5216, allocations: 0.9688 kB / 0.5366 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.5216, allocations: 5 kB / 0.5366 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.5218, allocations: 24.95 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5218, allocations: 1.375 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.5219, allocations: 10.97 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.5219, allocations: 2.625 kB / 0.5366 GB, free: 8.887 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 (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.0001216/0.5221, allocations: 122.8 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.5221, allocations: 8.109 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.5226, allocations: 122.4 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.5226, allocations: 1.094 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5226, allocations: 3.938 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5226, allocations: 5.219 kB / 0.5369 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.5233, allocations: 387.5 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5234, allocations: 0 / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.5235, allocations: 18.08 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.5235, allocations: 9.031 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5235, allocations: 1.062 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5235, allocations: 0 / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5236, allocations: 1.156 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.524, allocations: 202.2 kB / 0.5375 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.524, allocations: 83.25 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.5241, allocations: 9.047 kB / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5242, allocations: 3.406 kB / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.5243, allocations: 15.52 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.5243, allocations: 2.375 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.5245, allocations: 114.2 kB / 0.5377 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5245, allocations: 0 / 0.5377 GB, free: 7.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005353/0.525, allocations: 46.48 kB / 0.5377 GB, free: 7.879 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 (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.001723/0.5268, allocations: 491 kB / 0.5382 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.5271, allocations: 62.86 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5271, allocations: 1.062 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.5273, allocations: 38.03 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.5278, allocations: 33.98 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.5284, allocations: 191.1 kB / 0.5385 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.5288, allocations: 0.6929 MB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.5289, allocations: 26 kB / 0.5392 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.529, allocations: 18.94 kB / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.529, allocations: 0 / 0.5392 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Templates: time 0.006941/0.536, allocations: 1.844 MB / 0.541 GB, free: 5.715 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches