Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001173/0.001173, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.1988/0.1988, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.84 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 60.81 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002616/0.3296, allocations: 1.572 MB / 0.5204 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3309, allocations: 1.019 MB / 0.5214 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.3309, allocations: 5.281 kB / 0.5214 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.3312, allocations: 19.97 kB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.3314, allocations: 41.16 kB / 0.5215 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3316, allocations: 92.89 kB / 0.5216 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.3318, allocations: 50.62 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3319, allocations: 12.17 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.332, allocations: 27.42 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3321, allocations: 25.97 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3322, allocations: 2.344 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.3323, allocations: 53.33 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.3323, allocations: 17.98 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.3324, allocations: 17.03 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3326, allocations: 89.94 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3326, allocations: 0 / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3326, allocations: 1.688 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3326, allocations: 0 / 0.5219 GB, free: 1.602 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003933/0.333, allocations: 377.3 kB / 0.5222 GB, free: 1.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3331, allocations: 10.91 kB / 0.5222 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.3331, allocations: 11.8 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3333, allocations: 189.2 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.3333, allocations: 1.906 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3333, allocations: 2.875 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3335, allocations: 65.48 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3335, allocations: 3.953 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3335, allocations: 4.75 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3335, allocations: 1.562 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/0.3336, allocations: 20.94 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.3339, allocations: 273.5 kB / 0.5228 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.334, allocations: 40.41 kB / 0.5228 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.3341, allocations: 21.7 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3341, allocations: 4.688 kB / 0.5229 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.175e-05/0.3341, allocations: 35.66 kB / 0.5229 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3341, allocations: 0 / 0.5229 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00046/0.3346, allocations: 136 kB / 0.523 GB, free: 500 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.3347, allocations: 82.39 kB / 0.5231 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3348, allocations: 138.7 kB / 0.5232 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.3348, allocations: 31.7 kB / 0.5233 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.3348, allocations: 92.09 kB / 0.5234 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3348, allocations: 24.16 kB / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.3349, allocations: 14.66 kB / 0.5234 GB, free: 120 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.335, allocations: 322.7 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.3351, allocations: 18.67 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.3351, allocations: 30.44 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3353, allocations: 51.98 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3353, allocations: 0 / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001718/0.3355, allocations: 79.78 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3355, allocations: 5.828 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3355, allocations: 1.125 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3355, allocations: 0 / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.3356, allocations: 12.77 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3356, allocations: 1.031 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.3356, allocations: 9.156 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3356, allocations: 5.062 kB / 0.5239 GB, free: 15.7 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.839e-05/0.3357, allocations: 119.3 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.3358, allocations: 7.422 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.336, allocations: 91.81 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.336, allocations: 1.859 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.336, allocations: 0 / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.336, allocations: 4 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.3364, allocations: 340.3 kB / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3364, allocations: 4.281 kB / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.3365, allocations: 15.72 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3365, allocations: 1.625 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3365, allocations: 4.797 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3365, allocations: 5.594 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3365, allocations: 0 / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.3367, allocations: 181.3 kB / 0.5246 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.3368, allocations: 81.81 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3368, allocations: 3.578 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.3369, allocations: 7.453 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.3369, allocations: 4.422 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3369, allocations: 1.25 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.337, allocations: 111.7 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.337, allocations: 0 / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3373, allocations: 24.75 kB / 0.5249 GB, free: 14.82 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.000906/0.3382, allocations: 455.4 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3384, allocations: 44.92 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3384, allocations: 0 / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/0.3385, allocations: 24.34 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3388, allocations: 19.41 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.3391, allocations: 152.6 kB / 0.5255 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3393, allocations: 0.6942 MB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.3394, allocations: 8.734 kB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.3394, allocations: 17.55 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3394, allocations: 1.062 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.003632/0.3431, allocations: 1.355 MB / 0.5276 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches