Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.002649, allocations: 75.88 kB / 482.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3699, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003131/0.3731, allocations: 1.734 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3749, allocations: 1.022 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.375, allocations: 5.312 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.3753, allocations: 78.58 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3757, allocations: 118.4 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.3759, allocations: 84.06 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.3761, allocations: 111.9 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.3762, allocations: 14.64 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.3763, allocations: 50.03 kB / 0.5349 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3764, allocations: 60.28 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3765, allocations: 2.75 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.3766, allocations: 52.78 kB / 0.535 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.3766, allocations: 24.17 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.3767, allocations: 36 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.377, allocations: 128.8 kB / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.377, allocations: 0 / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.377, allocations: 0 / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.377, allocations: 0 / 0.5352 GB, free: 11.02 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.0005518/0.3776, allocations: 417.7 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3776, allocations: 9.625 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.681e-05/0.3777, allocations: 18.19 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.378, allocations: 225.8 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.378, allocations: 1.75 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.378, allocations: 5.5 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3782, allocations: 54.05 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3782, allocations: 1.375 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3782, allocations: 0 / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3782, allocations: 5.312 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/0.3783, allocations: 21.61 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.3788, allocations: 296.2 kB / 0.5362 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.379, allocations: 53.88 kB / 0.5362 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.3791, allocations: 21.59 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3791, allocations: 1.125 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3793, allocations: 69.8 kB / 0.5363 GB, free: 9.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3793, allocations: 3.938 kB / 0.5363 GB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005885/0.3799, allocations: 174.9 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3799, allocations: 52.59 kB / 0.5365 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.3803, allocations: 230.1 kB / 0.5368 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3803, allocations: 26.33 kB / 0.5368 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.3804, allocations: 110.1 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.3804, allocations: 19.56 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.3805, allocations: 28.48 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3806, allocations: 327.7 kB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.3807, allocations: 22.67 kB / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.3808, allocations: 30.84 kB / 0.5373 GB, free: 8.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3809, allocations: 59.02 kB / 0.5373 GB, free: 8.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3809, allocations: 9.156 kB / 0.5374 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002226/0.3811, allocations: 103.4 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3812, allocations: 5.625 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3812, allocations: 1.375 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3812, allocations: 1.062 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3813, allocations: 16.53 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3813, allocations: 5.031 kB / 0.5375 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.3814, allocations: 14.17 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3814, allocations: 6.188 kB / 0.5375 GB, free: 8.824 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 (10): * Single equations (assignments): 10 * 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.0001132/0.3815, allocations: 129.8 kB / 0.5376 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.3815, allocations: 17.55 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.3816, allocations: 16.19 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3816, allocations: 1.25 kB / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3816, allocations: 0 / 0.5377 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3816, allocations: 3.938 kB / 0.5377 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.3821, allocations: 400.8 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3822, allocations: 1.25 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.3822, allocations: 11.16 kB / 0.5381 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3822, allocations: 1.344 kB / 0.5381 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3822, allocations: 13.61 kB / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3822, allocations: 1.844 kB / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3822, allocations: 0 / 0.5381 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3825, allocations: 205.2 kB / 0.5383 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.3826, allocations: 92.23 kB / 0.5384 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3826, allocations: 5.031 kB / 0.5384 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.3827, allocations: 6.219 kB / 0.5384 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.3827, allocations: 6.922 kB / 0.5384 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3827, allocations: 4.219 kB / 0.5384 GB, free: 7.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3829, allocations: 168.8 kB / 0.5385 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3829, allocations: 0 / 0.5385 GB, free: 7.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3832, allocations: 24.69 kB / 0.5386 GB, free: 7.852 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 (8): * Single equations (assignments): 6 * 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.001069/0.3843, allocations: 467.4 kB / 0.539 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.3845, allocations: 56.72 kB / 0.5391 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3845, allocations: 1.281 kB / 0.5391 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.3845, allocations: 37.42 kB / 0.5391 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3849, allocations: 24.98 kB / 0.5391 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.3854, allocations: 272 kB / 0.5394 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3857, allocations: 0.7113 MB / 0.5401 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.3857, allocations: 15.41 kB / 0.5401 GB, free: 6.617 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3857, allocations: 4.062 kB / 0.5401 GB, free: 6.613 MB / 398.1 MB Notification: Performance of Templates: time 0.004034/0.3898, allocations: 2.016 MB / 0.5421 GB, free: 5.566 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches