Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 104.1 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 194.5 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2054/0.2054, allocations: 43.52 MB / 314.3 MB, free: 0.7031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 72.38 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.08122, allocations: 57.8 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002291/0.08354, allocations: 1.608 MB / 442.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004459/0.08401, allocations: 324.1 kB / 442.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.08406, allocations: 4 kB / 442.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.08429, allocations: 59.8 kB / 442.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.08444, allocations: 59.86 kB / 442.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.08466, allocations: 87.45 kB / 442.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.08477, allocations: 59.91 kB / 442.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.951e-05/0.08486, allocations: 23.91 kB / 442.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.0849, allocations: 31.86 kB / 442.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.08498, allocations: 43.83 kB / 443 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.085, allocations: 4 kB / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-05/0.08506, allocations: 27.98 kB / 443 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.08511, allocations: 19.92 kB / 443 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.08514, allocations: 23.81 kB / 443 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.08525, allocations: 63.91 kB / 443.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.08526, allocations: 11.92 kB / 443.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08526, allocations: 0 / 443.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.08527, allocations: 0 / 443.1 MB, free: 4.898 MB / 318.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.0003313/0.08561, allocations: 395 kB / 443.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.08564, allocations: 11.89 kB / 443.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.08568, allocations: 8.844 kB / 443.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.0858, allocations: 194.2 kB / 443.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-06/0.08582, allocations: 384 / 443.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.08584, allocations: 4.375 kB / 443.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.08595, allocations: 53.8 kB / 443.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.08597, allocations: 0 / 443.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.08599, allocations: 8 kB / 443.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.086, allocations: 0 / 443.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.08608, allocations: 23.92 kB / 443.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.08635, allocations: 288.8 kB / 444.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.08653, allocations: 42.56 kB / 444.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.08659, allocations: 20.94 kB / 444.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.08661, allocations: 3.984 kB / 444.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.08663, allocations: 38.5 kB / 444.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.08663, allocations: 0 / 444.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004777/0.08711, allocations: 157.4 kB / 444.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.08714, allocations: 59.34 kB / 444.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.08726, allocations: 190.1 kB / 444.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.08728, allocations: 25.7 kB / 444.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.08731, allocations: 104 kB / 444.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.08734, allocations: 15.75 kB / 444.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.08737, allocations: 21.7 kB / 444.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.08741, allocations: 330.7 kB / 445.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.379e-05/0.08748, allocations: 19.98 kB / 445.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.08754, allocations: 19.98 kB / 445.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.08766, allocations: 57.02 kB / 445.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.08767, allocations: 0 / 445.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001478/0.08782, allocations: 89.56 kB / 445.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.08784, allocations: 11.94 kB / 445.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.08785, allocations: 0 / 445.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.08786, allocations: 0 / 445.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.08792, allocations: 15.98 kB / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.08793, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.08797, allocations: 0 / 445.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.08798, allocations: 4 kB / 445.3 MB, free: 2.508 MB / 318.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 5.485e-05/0.08804, allocations: 129.7 kB / 445.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.08808, allocations: 15.91 kB / 445.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.08827, allocations: 93.97 kB / 445.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.08828, allocations: 3.938 kB / 445.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.08829, allocations: 0 / 445.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.0883, allocations: 7.984 kB / 445.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.0886, allocations: 354.4 kB / 445.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.08862, allocations: 8 kB / 445.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.08867, allocations: 8 kB / 445.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.08868, allocations: 0 / 445.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.08869, allocations: 0 / 445.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.08869, allocations: 4.125 kB / 445.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.0887, allocations: 4 kB / 445.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.08886, allocations: 191.3 kB / 446.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.08889, allocations: 89.02 kB / 446.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.08891, allocations: 3.984 kB / 446.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.08898, allocations: 7.938 kB / 446.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.08902, allocations: 4 kB / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.08902, allocations: 0 / 446.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.155e-05/0.0891, allocations: 151.2 kB / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.08911, allocations: 0 / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.08934, allocations: 11.94 kB / 446.3 MB, free: 1.34 MB / 318.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.0007924/0.09013, allocations: 407 kB / 446.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.09032, allocations: 55.89 kB / 446.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.09033, allocations: 0 / 446.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.0904, allocations: 23.98 kB / 446.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.09072, allocations: 19.92 kB / 446.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.09106, allocations: 264 kB / 447.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.09122, allocations: 0.7079 MB / 447.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.09125, allocations: 11.44 kB / 447.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09126, allocations: 0 / 447.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Templates: time 0.002841/0.09411, allocations: 1.478 MB / 449.3 MB, free: 14.4 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches