Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001364, allocations: 117.7 kB / 18.46 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.00142/0.00142, allocations: 204.8 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.276/1.276, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1878/0.1878, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.88 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2739, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002929/0.2768, allocations: 1.745 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2785, allocations: 1.041 MB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.2785, allocations: 0 / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.2788, allocations: 37.86 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.2791, allocations: 102.6 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.2793, allocations: 78.86 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.2795, allocations: 107.6 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.2795, allocations: 6.375 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.2796, allocations: 54.44 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.2797, allocations: 41.39 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2797, allocations: 4.938 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.2799, allocations: 121 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.28, allocations: 12.06 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.28, allocations: 45.39 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.2803, allocations: 175.9 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2803, allocations: 5.359 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2803, allocations: 0 / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2803, allocations: 0 / 0.5352 GB, free: 10.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004926/0.2808, allocations: 425.9 kB / 0.5356 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.2808, allocations: 9.625 kB / 0.5356 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.2809, allocations: 8.969 kB / 0.5356 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2812, allocations: 216.5 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2812, allocations: 5.75 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2812, allocations: 6.875 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.2813, allocations: 73.06 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2814, allocations: 5.375 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2814, allocations: 0 / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2814, allocations: 1.375 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.2815, allocations: 17.61 kB / 0.5359 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.2818, allocations: 280.1 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.282, allocations: 71.36 kB / 0.5363 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.282, allocations: 29.58 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.282, allocations: 5.172 kB / 0.5363 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.2822, allocations: 66.36 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2822, allocations: 1.156 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005316/0.2827, allocations: 204.2 kB / 0.5366 GB, free: 9.609 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.2828, allocations: 79.33 kB / 0.5367 GB, free: 9.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2829, allocations: 171.4 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.283, allocations: 26.89 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.283, allocations: 104.4 kB / 0.5369 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2831, allocations: 32.86 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.2831, allocations: 29.67 kB / 0.537 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2832, allocations: 322.6 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.2833, allocations: 27.23 kB / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.28e-05/0.2834, allocations: 60.72 kB / 0.5374 GB, free: 8.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.2835, allocations: 76.52 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2835, allocations: 1.156 kB / 0.5375 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002064/0.2838, allocations: 126.5 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2838, allocations: 5.5 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2838, allocations: 1.25 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.2838, allocations: 1.188 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.2839, allocations: 24.69 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2839, allocations: 5.141 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.284, allocations: 10.16 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.284, allocations: 3.406 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.323e-05/0.2841, allocations: 121.2 kB / 0.5378 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.2841, allocations: 9.438 kB / 0.5378 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.2842, allocations: 16.27 kB / 0.5378 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2842, allocations: 1.125 kB / 0.5378 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2842, allocations: 5.125 kB / 0.5378 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2842, allocations: 3.938 kB / 0.5378 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.2846, allocations: 422.8 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2847, allocations: 0 / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.2847, allocations: 18.98 kB / 0.5382 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2847, allocations: 1 kB / 0.5382 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2847, allocations: 5.781 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.2847, allocations: 4.938 kB / 0.5382 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2847, allocations: 7.969 kB / 0.5382 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.285, allocations: 219.8 kB / 0.5384 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.285, allocations: 88.89 kB / 0.5385 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.2851, allocations: 5.125 kB / 0.5385 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.2852, allocations: 3.281 kB / 0.5385 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.2852, allocations: 7.578 kB / 0.5385 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2852, allocations: 11.28 kB / 0.5385 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2853, allocations: 126.2 kB / 0.5387 GB, free: 7.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2853, allocations: 1.125 kB / 0.5387 GB, free: 7.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.2857, allocations: 48.11 kB / 0.5387 GB, free: 7.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001177/0.2868, allocations: 0.546 MB / 0.5392 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.287, allocations: 81.7 kB / 0.5393 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2871, allocations: 3.938 kB / 0.5393 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.2871, allocations: 37.48 kB / 0.5394 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2875, allocations: 36.81 kB / 0.5394 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.2879, allocations: 252.5 kB / 0.5396 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2882, allocations: 0.6971 MB / 0.5403 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.2882, allocations: 22.55 kB / 0.5403 GB, free: 6.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2882, allocations: 0 / 0.5403 GB, free: 6.391 MB / 398.1 MB Notification: Performance of Templates: time 0.004176/0.2924, allocations: 2.568 MB / 0.5429 GB, free: 5.066 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches