Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 109.3 kB / 18.45 MB, free: 4.602 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.0009435/0.0009435, allocations: 179 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1828/0.1828, allocations: 44.17 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.84 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002686/0.3157, allocations: 1.587 MB / 0.5211 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.3163, allocations: 406.3 kB / 0.5215 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.3164, allocations: 1.312 kB / 0.5215 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.3166, allocations: 67.19 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3168, allocations: 67.22 kB / 0.5217 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.3171, allocations: 89.92 kB / 0.5217 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.3172, allocations: 69.3 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3173, allocations: 22.53 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.3174, allocations: 33.62 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3175, allocations: 54.5 kB / 0.5219 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3175, allocations: 3.219 kB / 0.5219 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.738e-05/0.3176, allocations: 43.22 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.3177, allocations: 21.8 kB / 0.522 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.3177, allocations: 27.17 kB / 0.522 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3179, allocations: 107.2 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3179, allocations: 1.438 kB / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3179, allocations: 0 / 0.5221 GB, free: 1.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3179, allocations: 3.938 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003674/0.3183, allocations: 405.4 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.3183, allocations: 9.938 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3184, allocations: 9.188 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3185, allocations: 198.9 kB / 0.5227 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.3185, allocations: 1.344 kB / 0.5227 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.3185, allocations: 6.344 kB / 0.5227 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3187, allocations: 60.39 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3187, allocations: 1.062 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.3187, allocations: 0 / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3187, allocations: 1.062 kB / 0.5228 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.3188, allocations: 24.77 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.3191, allocations: 294.3 kB / 0.5231 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.3192, allocations: 50.39 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.3192, allocations: 15.16 kB / 0.5231 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3193, allocations: 5.5 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.3193, allocations: 36.66 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3193, allocations: 0 / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007642/0.3201, allocations: 214.9 kB / 0.5234 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.3201, allocations: 56.38 kB / 0.5234 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3203, allocations: 205.5 kB / 0.5236 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.3203, allocations: 30.67 kB / 0.5237 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.3203, allocations: 108.9 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.3203, allocations: 29.59 kB / 0.5238 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.3204, allocations: 20.12 kB / 0.5238 GB, free: 484 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.3204, allocations: 322.1 kB / 0.5241 GB, free: 160 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.3205, allocations: 26.64 kB / 0.5242 GB, free: 152 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.3206, allocations: 31.09 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.3207, allocations: 58.59 kB / 0.5242 GB, free: 116 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3207, allocations: 4 kB / 0.5242 GB, free: 112 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001761/0.3209, allocations: 101.9 kB / 0.5243 GB, free: 56 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3209, allocations: 5.438 kB / 0.5243 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3209, allocations: 4.656 kB / 0.5243 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3209, allocations: 1.281 kB / 0.5244 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.321, allocations: 16.56 kB / 0.5244 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.321, allocations: 8.906 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.3211, allocations: 9.438 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3211, allocations: 6.062 kB / 0.5244 GB, free: 36 kB / 382.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 (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 prepare postOptimizeDAE: time 0.0001059/0.3212, allocations: 122.1 kB / 0.5245 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.3212, allocations: 9.656 kB / 0.5245 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.3215, allocations: 115.1 kB / 0.5246 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3215, allocations: 1.781 kB / 0.5246 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3215, allocations: 3.938 kB / 0.5246 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3215, allocations: 432 / 0.5246 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.322, allocations: 407.7 kB / 0.525 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.322, allocations: 0.75 kB / 0.525 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.3221, allocations: 25.98 kB / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3221, allocations: 0 / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3221, allocations: 2.453 kB / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3221, allocations: 1.781 kB / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3221, allocations: 3.984 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.3223, allocations: 207.2 kB / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.3224, allocations: 88.14 kB / 0.5253 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3224, allocations: 1.094 kB / 0.5253 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.3225, allocations: 9.578 kB / 0.5253 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3225, allocations: 10.52 kB / 0.5254 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3225, allocations: 10.75 kB / 0.5254 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.3227, allocations: 155.5 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3227, allocations: 3.938 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.3229, allocations: 15.38 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000963/0.3239, allocations: 456.1 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3241, allocations: 72.67 kB / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3241, allocations: 0 / 0.526 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.3242, allocations: 34.62 kB / 0.5261 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3245, allocations: 23.64 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.325, allocations: 280.8 kB / 0.5264 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3252, allocations: 0.7106 MB / 0.5271 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.3253, allocations: 15.56 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3253, allocations: 0 / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Templates: time 0.003188/0.3285, allocations: 1.701 MB / 0.5287 GB, free: 13.34 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches