Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, 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.001276/0.001276, allocations: 214 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 79.81 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3751, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00355/0.3787, allocations: 1.594 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3799, allocations: 0.5431 MB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.38, allocations: 0 / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3803, allocations: 27.55 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.3807, allocations: 85.17 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.3811, allocations: 118.2 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3813, allocations: 57.97 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3814, allocations: 14.86 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.3814, allocations: 24.11 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.3815, allocations: 26.67 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3815, allocations: 2.75 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3816, allocations: 36.61 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.3817, allocations: 17.42 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.3818, allocations: 21.31 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.382, allocations: 90.02 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.382, allocations: 3.938 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.382, allocations: 0 / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.382, allocations: 5.375 kB / 0.5343 GB, free: 11.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005228/0.3825, allocations: 388.1 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3826, allocations: 9.625 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.3826, allocations: 8.969 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3828, allocations: 198.3 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3829, allocations: 1.75 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3829, allocations: 5.312 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.383, allocations: 48.69 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3831, allocations: 4 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3831, allocations: 1.375 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3831, allocations: 0 / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3832, allocations: 25.72 kB / 0.5349 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.3836, allocations: 281.6 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.3839, allocations: 52.42 kB / 0.5353 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.3839, allocations: 13.11 kB / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3839, allocations: 3.984 kB / 0.5353 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.384, allocations: 36.02 kB / 0.5353 GB, free: 10.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.384, allocations: 0 / 0.5353 GB, free: 10.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005968/0.3846, allocations: 155.2 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.3846, allocations: 60.77 kB / 0.5355 GB, free: 10.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3848, allocations: 175.9 kB / 0.5357 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3849, allocations: 33.64 kB / 0.5357 GB, free: 10.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.385, allocations: 100.2 kB / 0.5358 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.385, allocations: 18.5 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.385, allocations: 17.84 kB / 0.5358 GB, free: 10.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3852, allocations: 321.6 kB / 0.5361 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.3853, allocations: 24.17 kB / 0.5362 GB, free: 9.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.3853, allocations: 19.83 kB / 0.5362 GB, free: 9.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3855, allocations: 54.91 kB / 0.5362 GB, free: 9.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3855, allocations: 1.125 kB / 0.5362 GB, free: 9.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001898/0.3857, allocations: 82.89 kB / 0.5363 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3857, allocations: 5.969 kB / 0.5363 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3857, allocations: 4 kB / 0.5363 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3857, allocations: 1.312 kB / 0.5363 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.3858, allocations: 17.8 kB / 0.5363 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3858, allocations: 0 / 0.5363 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.3859, allocations: 19.61 kB / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3859, allocations: 1.219 kB / 0.5364 GB, free: 9.582 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 (5): * Single equations (assignments): 5 * 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.0001034/0.386, allocations: 116.8 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.386, allocations: 7.781 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.3863, allocations: 101.3 kB / 0.5366 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.3863, allocations: 1.312 kB / 0.5366 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3863, allocations: 0 / 0.5366 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3863, allocations: 5.031 kB / 0.5366 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.3868, allocations: 353.3 kB / 0.5369 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3868, allocations: 3.984 kB / 0.5369 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.3869, allocations: 10.41 kB / 0.5369 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3869, allocations: 4 kB / 0.5369 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3869, allocations: 8.875 kB / 0.537 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3869, allocations: 1.25 kB / 0.537 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3869, allocations: 4 kB / 0.537 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.3872, allocations: 190.5 kB / 0.5371 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.3872, allocations: 87.25 kB / 0.5372 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3873, allocations: 5.031 kB / 0.5372 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.3873, allocations: 7.406 kB / 0.5372 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.3874, allocations: 2.188 kB / 0.5372 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-06/0.3874, allocations: 8.984 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3875, allocations: 133.1 kB / 0.5374 GB, free: 8.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.684e-06/0.3875, allocations: 0 / 0.5374 GB, free: 8.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3878, allocations: 23.16 kB / 0.5374 GB, free: 8.625 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 (5): * Single equations (assignments): 5 * 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.0009817/0.3887, allocations: 395 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.389, allocations: 62.83 kB / 0.5378 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.389, allocations: 0 / 0.5378 GB, free: 8.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.3891, allocations: 24.64 kB / 0.5379 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3894, allocations: 21.64 kB / 0.5379 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.3899, allocations: 225.6 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3903, allocations: 0.7014 MB / 0.5388 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.3903, allocations: 17.56 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3903, allocations: 0 / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of Templates: time 0.004032/0.3943, allocations: 1.505 MB / 0.5403 GB, free: 6.68 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches