Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 121.6 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 200.7 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001807, allocations: 75.88 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3635, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003312/0.3669, allocations: 1.594 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3686, allocations: 1.156 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.3687, allocations: 0.8125 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3689, allocations: 29.09 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.3692, allocations: 76.81 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.3695, allocations: 94.02 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.3696, allocations: 67.89 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.3697, allocations: 9.641 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.3698, allocations: 29.55 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3699, allocations: 39.77 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.37, allocations: 3.625 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.3701, allocations: 95.64 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.3702, allocations: 18.22 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.3703, allocations: 20.84 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3705, allocations: 142.6 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3705, allocations: 0 / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3705, allocations: 1.156 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3705, allocations: 3.938 kB / 0.5343 GB, free: 11.06 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.0004859/0.371, allocations: 395.2 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3711, allocations: 13.84 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.3711, allocations: 12.67 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3713, allocations: 186.1 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3713, allocations: 5.75 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3714, allocations: 7.109 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3715, allocations: 63.91 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3715, allocations: 3.984 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3716, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3716, allocations: 9.312 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.3717, allocations: 28.34 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.372, allocations: 276.1 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.3722, allocations: 39.06 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.3723, allocations: 23.75 kB / 0.5353 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3723, allocations: 5.375 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.3724, allocations: 30.56 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3724, allocations: 0 / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005196/0.3729, allocations: 137.8 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.373, allocations: 78.48 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3731, allocations: 149.3 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3731, allocations: 31.08 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.3732, allocations: 90.89 kB / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3732, allocations: 26.38 kB / 0.5358 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3733, allocations: 17.84 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3734, allocations: 324.1 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.3734, allocations: 14.98 kB / 0.5362 GB, free: 9.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.3735, allocations: 39.45 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3736, allocations: 43.3 kB / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3736, allocations: 0 / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001847/0.3738, allocations: 80.73 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3739, allocations: 5.531 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3739, allocations: 0 / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3739, allocations: 1.031 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.374, allocations: 17.55 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.374, allocations: 1.156 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.374, allocations: 7.188 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.374, allocations: 5.031 kB / 0.5364 GB, free: 9.012 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 7.65e-05/0.3741, allocations: 117.2 kB / 0.5365 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.3741, allocations: 4.281 kB / 0.5365 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.3744, allocations: 100.6 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3744, allocations: 1.125 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3744, allocations: 3.938 kB / 0.5366 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3744, allocations: 5.094 kB / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.3748, allocations: 346.5 kB / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3748, allocations: 0 / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.3749, allocations: 21.98 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3749, allocations: 3.938 kB / 0.537 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3749, allocations: 5 kB / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3749, allocations: 5.406 kB / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3749, allocations: 0 / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.3751, allocations: 175.1 kB / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.3752, allocations: 79.52 kB / 0.5372 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3752, allocations: 1.281 kB / 0.5372 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.3753, allocations: 15.2 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.3753, allocations: 2.344 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3753, allocations: 5.281 kB / 0.5372 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.74e-05/0.3754, allocations: 115.7 kB / 0.5373 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3755, allocations: 0 / 0.5373 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3757, allocations: 44.33 kB / 0.5374 GB, free: 8.051 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.001057/0.3768, allocations: 495.7 kB / 0.5379 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.377, allocations: 44.47 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.377, allocations: 4 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.3771, allocations: 27.81 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3774, allocations: 15.22 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.3778, allocations: 173.2 kB / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3781, allocations: 0.6893 MB / 0.5388 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.918e-05/0.3782, allocations: 26.64 kB / 0.5388 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.3782, allocations: 13.97 kB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3782, allocations: 1.156 kB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Templates: time 0.004318/0.3825, allocations: 1.743 MB / 0.5405 GB, free: 5.973 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches