Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00242/0.00242, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.9 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.2216/0.2216, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 75.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3786, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002906/0.3815, allocations: 1.591 MB / 0.5326 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3832, allocations: 1.164 MB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.3832, allocations: 1.375 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.3834, allocations: 27.95 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.3837, allocations: 77.75 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.384, allocations: 91.2 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3842, allocations: 63.39 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3843, allocations: 9.5 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.3844, allocations: 38.78 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3846, allocations: 29.47 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3846, allocations: 4.125 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.3848, allocations: 95.84 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.3848, allocations: 19.19 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.3849, allocations: 24.06 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.3852, allocations: 139.5 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3852, allocations: 0 / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3852, allocations: 0 / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3852, allocations: 4 kB / 0.5343 GB, free: 11.1 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.0004965/0.3857, allocations: 395.8 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3857, allocations: 9.906 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3858, allocations: 4.719 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.386, allocations: 202.5 kB / 0.5349 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.386, allocations: 9.641 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.386, allocations: 1.688 kB / 0.5349 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3862, allocations: 71.67 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3862, allocations: 1.156 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3862, allocations: 0 / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3862, allocations: 1.406 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.3863, allocations: 20.14 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3867, allocations: 280 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.3869, allocations: 47.19 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.387, allocations: 15.73 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.387, allocations: 5.141 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.387, allocations: 31.84 kB / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.387, allocations: 0 / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005574/0.3876, allocations: 140.6 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.3877, allocations: 78.33 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3879, allocations: 146.3 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.3879, allocations: 25.7 kB / 0.5357 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.388, allocations: 95.66 kB / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.388, allocations: 18.41 kB / 0.5358 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.3881, allocations: 22.14 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3882, allocations: 320 kB / 0.5361 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.64e-05/0.3883, allocations: 22.3 kB / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.3884, allocations: 39.62 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3885, allocations: 43.56 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3886, allocations: 0.6562 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001883/0.3887, allocations: 84.09 kB / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3888, allocations: 6.375 kB / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3888, allocations: 0 / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3888, allocations: 0 / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.3889, allocations: 14.38 kB / 0.5364 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3889, allocations: 3.984 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.389, allocations: 3.531 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.389, allocations: 5.312 kB / 0.5364 GB, free: 9.059 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.0001181/0.3891, allocations: 114 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.3892, allocations: 12.03 kB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3894, allocations: 92.19 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3894, allocations: 1.375 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3894, allocations: 0 / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3894, allocations: 1.375 kB / 0.5366 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.3898, allocations: 361.2 kB / 0.5369 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3899, allocations: 5.406 kB / 0.5369 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.3899, allocations: 13.23 kB / 0.5369 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3899, allocations: 3.938 kB / 0.5369 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.3899, allocations: 5.219 kB / 0.5369 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.39, allocations: 4.125 kB / 0.5369 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.39, allocations: 5.531 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.3902, allocations: 179 kB / 0.5371 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3902, allocations: 83.42 kB / 0.5372 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3903, allocations: 1.406 kB / 0.5372 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.3903, allocations: 11.02 kB / 0.5372 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3904, allocations: 6.5 kB / 0.5372 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3904, allocations: 1.375 kB / 0.5372 GB, free: 8.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.639e-05/0.3905, allocations: 115.8 kB / 0.5373 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3905, allocations: 1.562 kB / 0.5373 GB, free: 8.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000277/0.3908, allocations: 34.44 kB / 0.5374 GB, free: 8.098 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.001048/0.3918, allocations: 495.9 kB / 0.5378 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.392, allocations: 47.5 kB / 0.5379 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.392, allocations: 1.062 kB / 0.5379 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.3921, allocations: 22.95 kB / 0.5379 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3925, allocations: 35.66 kB / 0.5379 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3929, allocations: 170.4 kB / 0.5381 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3931, allocations: 0.6932 MB / 0.5388 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.732e-05/0.3932, allocations: 15.36 kB / 0.5388 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.3932, allocations: 17.08 kB / 0.5388 GB, free: 6.926 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3932, allocations: 0 / 0.5388 GB, free: 6.926 MB / 398.1 MB Notification: Performance of Templates: time 0.004416/0.3976, allocations: 1.747 MB / 0.5405 GB, free: 6.016 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches