Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 117.2 kB / 17.78 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.001329/0.001329, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 79.86 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3581, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003149/0.3613, allocations: 1.596 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3624, allocations: 0.5475 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.3625, allocations: 1.312 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.3628, allocations: 29.81 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.3631, allocations: 78.5 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.3634, allocations: 95.03 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3636, allocations: 78.03 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3637, allocations: 10.56 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.3637, allocations: 26.8 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.3638, allocations: 37.73 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3639, allocations: 7.375 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.364, allocations: 94.09 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.3641, allocations: 23.98 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.3641, allocations: 29.3 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.3644, allocations: 142.7 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3644, allocations: 0 / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3645, allocations: 3.938 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3645, allocations: 1.375 kB / 0.5337 GB, free: 11.55 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.0005663/0.365, allocations: 412.3 kB / 0.5341 GB, free: 11.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3651, allocations: 12.25 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.3651, allocations: 8.969 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3653, allocations: 197.8 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.3654, allocations: 1.75 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3654, allocations: 3.125 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.3656, allocations: 74.62 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3656, allocations: 3.906 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3656, allocations: 0 / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3656, allocations: 5.375 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3657, allocations: 28.47 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.3662, allocations: 298.9 kB / 0.5347 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3663, allocations: 57.92 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.3664, allocations: 29.28 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3664, allocations: 5.375 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3664, allocations: 39.88 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3664, allocations: 0 / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006718/0.3671, allocations: 181.1 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.3672, allocations: 83.8 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3674, allocations: 153.5 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.3674, allocations: 26.83 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.3675, allocations: 95.31 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.3675, allocations: 30.89 kB / 0.5354 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.3675, allocations: 25.2 kB / 0.5354 GB, free: 9.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3677, allocations: 324.9 kB / 0.5357 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.411e-05/0.3678, allocations: 30.39 kB / 0.5358 GB, free: 9.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.3679, allocations: 50.59 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3681, allocations: 70.33 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3681, allocations: 7.938 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002794/0.3684, allocations: 111.6 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3684, allocations: 5.438 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3684, allocations: 1.25 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3684, allocations: 4.031 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3686, allocations: 22.8 kB / 0.536 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3686, allocations: 1.094 kB / 0.536 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.3686, allocations: 7.281 kB / 0.536 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3686, allocations: 2.75 kB / 0.536 GB, free: 9.375 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 (9): * Single equations (assignments): 9 * 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.000103/0.3687, allocations: 122.7 kB / 0.5362 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.3688, allocations: 8.125 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.3691, allocations: 126.7 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3691, allocations: 1.094 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3691, allocations: 0 / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3691, allocations: 0 / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.3696, allocations: 400.3 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3697, allocations: 0 / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.3697, allocations: 21.64 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3698, allocations: 4 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3698, allocations: 5.094 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3698, allocations: 5.031 kB / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3698, allocations: 0 / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3701, allocations: 191.6 kB / 0.5369 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.3701, allocations: 87.09 kB / 0.537 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3702, allocations: 9.031 kB / 0.537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.3702, allocations: 8.25 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.3703, allocations: 10.95 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3703, allocations: 1.969 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3704, allocations: 123.4 kB / 0.5371 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3704, allocations: 1.531 kB / 0.5371 GB, free: 8.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.3707, allocations: 41.62 kB / 0.5372 GB, free: 8.359 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.001197/0.372, allocations: 0.4939 MB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.3722, allocations: 76.17 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3723, allocations: 0 / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.3724, allocations: 38.19 kB / 0.5378 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.3727, allocations: 27.05 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.3732, allocations: 187 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3735, allocations: 0.7039 MB / 0.5386 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.297e-05/0.3736, allocations: 25.52 kB / 0.5387 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.3737, allocations: 15.47 kB / 0.5387 GB, free: 7.152 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3737, allocations: 0 / 0.5387 GB, free: 7.152 MB / 398.1 MB Notification: Performance of Templates: time 0.005134/0.3788, allocations: 1.965 MB / 0.5406 GB, free: 6.133 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches