Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001128, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 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.2121/0.2121, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 79.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2999, allocations: 62.43 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002958/0.3029, allocations: 1.594 MB / 0.5332 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3046, allocations: 1.172 MB / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.3047, allocations: 0 / 0.5344 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3049, allocations: 29.28 kB / 0.5344 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.3052, allocations: 81.75 kB / 0.5345 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.3055, allocations: 113 kB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.3057, allocations: 75.25 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.3058, allocations: 10.88 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.3059, allocations: 21.55 kB / 0.5347 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.306, allocations: 34.84 kB / 0.5347 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3061, allocations: 4.125 kB / 0.5347 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3062, allocations: 104.1 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.3063, allocations: 18.67 kB / 0.5348 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.3063, allocations: 17.38 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.3066, allocations: 146.4 kB / 0.535 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3066, allocations: 1.344 kB / 0.535 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3066, allocations: 0 / 0.535 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3066, allocations: 0 / 0.535 GB, free: 11.25 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.0004543/0.3071, allocations: 397.3 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.3072, allocations: 9.812 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.3072, allocations: 12.38 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.3074, allocations: 188.9 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.3074, allocations: 5.625 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3074, allocations: 2.656 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3076, allocations: 72.89 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3077, allocations: 0 / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3077, allocations: 0 / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3077, allocations: 5.312 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.3078, allocations: 26.2 kB / 0.5357 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3082, allocations: 286.9 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.3084, allocations: 49.98 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.3085, allocations: 19.23 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3085, allocations: 5.109 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3086, allocations: 35.28 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.3086, allocations: 1.031 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005924/0.3092, allocations: 149.7 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3092, allocations: 78.14 kB / 0.5363 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3094, allocations: 144.3 kB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3094, allocations: 30.92 kB / 0.5365 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.3095, allocations: 94.56 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.3095, allocations: 21.88 kB / 0.5366 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.3096, allocations: 14.31 kB / 0.5366 GB, free: 9.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3097, allocations: 325.1 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.3097, allocations: 20.08 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.3098, allocations: 36.48 kB / 0.5369 GB, free: 9.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.31, allocations: 59.31 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.31, allocations: 0 / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002252/0.3102, allocations: 79.3 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3103, allocations: 5.75 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.3103, allocations: 0 / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.3103, allocations: 1.219 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.3104, allocations: 17.08 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3104, allocations: 1.125 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.3105, allocations: 11.45 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3105, allocations: 5.031 kB / 0.5371 GB, free: 9.188 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 8.198e-05/0.3106, allocations: 118.4 kB / 0.5372 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.3106, allocations: 3.406 kB / 0.5372 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3108, allocations: 103.8 kB / 0.5373 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3109, allocations: 5.031 kB / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3109, allocations: 0 / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3109, allocations: 1.719 kB / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.3114, allocations: 362.8 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3114, allocations: 5.25 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.3115, allocations: 12.39 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3115, allocations: 5.031 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3115, allocations: 4.984 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3115, allocations: 7.938 kB / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3115, allocations: 1.312 kB / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.3117, allocations: 182.3 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.3118, allocations: 79.58 kB / 0.538 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3118, allocations: 0 / 0.538 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.3119, allocations: 12.39 kB / 0.538 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.3119, allocations: 5.188 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.312, allocations: 9.938 kB / 0.538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3121, allocations: 116 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3121, allocations: 0.9062 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3124, allocations: 39.97 kB / 0.5381 GB, free: 8.215 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.001074/0.3135, allocations: 488.2 kB / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3137, allocations: 50.95 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3137, allocations: 4 kB / 0.5387 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.3138, allocations: 33.48 kB / 0.5387 GB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3142, allocations: 33.06 kB / 0.5387 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.3146, allocations: 189.7 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.315, allocations: 0.6909 MB / 0.5396 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.315, allocations: 22.48 kB / 0.5396 GB, free: 7.023 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.315, allocations: 4 kB / 0.5396 GB, free: 7.02 MB / 398.1 MB Notification: Performance of Templates: time 0.004056/0.3191, allocations: 1.957 MB / 0.5415 GB, free: 6.008 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches