Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001222, allocations: 113.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.0009721/0.0009721, allocations: 181.1 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.257/1.257, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2025/0.2025, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3359, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.0027/0.3386, allocations: 1.575 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000684/0.3393, allocations: 401.7 kB / 0.5215 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.3394, allocations: 0 / 0.5215 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.3396, allocations: 31.91 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.3398, allocations: 39.95 kB / 0.5216 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.3401, allocations: 107.1 kB / 0.5217 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.3402, allocations: 59.31 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.3403, allocations: 13.22 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.3404, allocations: 25.98 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.3404, allocations: 20.66 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3404, allocations: 2.688 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-05/0.3405, allocations: 34.22 kB / 0.5218 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.3406, allocations: 13.86 kB / 0.5218 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.3406, allocations: 16.39 kB / 0.5218 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3408, allocations: 68.7 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3408, allocations: 5.25 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3408, allocations: 0 / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3408, allocations: 0 / 0.5219 GB, free: 2.055 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.0003679/0.3412, allocations: 377.3 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3412, allocations: 10 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.3413, allocations: 7.281 kB / 0.5223 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.3414, allocations: 192.7 kB / 0.5225 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3414, allocations: 1.219 kB / 0.5225 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3414, allocations: 2.594 kB / 0.5225 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3416, allocations: 54.39 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3416, allocations: 0 / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.3416, allocations: 1.156 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3416, allocations: 5.156 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.102e-05/0.3417, allocations: 26.92 kB / 0.5226 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.342, allocations: 279.5 kB / 0.5228 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.3422, allocations: 41.62 kB / 0.5229 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.3423, allocations: 22.91 kB / 0.5229 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.3423, allocations: 4.75 kB / 0.5229 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.3423, allocations: 32.2 kB / 0.5229 GB, free: 1.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3423, allocations: 1 kB / 0.5229 GB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005156/0.3429, allocations: 146 kB / 0.5231 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.3429, allocations: 52.81 kB / 0.5231 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.343, allocations: 144.6 kB / 0.5233 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.343, allocations: 25.7 kB / 0.5233 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.3431, allocations: 101.3 kB / 0.5234 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.3431, allocations: 11.55 kB / 0.5234 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.3431, allocations: 18.8 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.3432, allocations: 323.6 kB / 0.5237 GB, free: 316 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.3432, allocations: 19.91 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.3433, allocations: 26.36 kB / 0.5238 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3434, allocations: 50.91 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3435, allocations: 0.75 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001707/0.3436, allocations: 84.55 kB / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3437, allocations: 5.594 kB / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3437, allocations: 0 / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3437, allocations: 9.031 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/0.3437, allocations: 19.58 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3438, allocations: 1.766 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.3438, allocations: 4.844 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3438, allocations: 1.094 kB / 0.5239 GB, free: 220 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 (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.755e-05/0.3439, allocations: 119.7 kB / 0.524 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.3439, allocations: 8.438 kB / 0.524 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.3441, allocations: 98.97 kB / 0.5241 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3441, allocations: 7.984 kB / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3441, allocations: 0 / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3442, allocations: 2.047 kB / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.3446, allocations: 352.1 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3446, allocations: 4.062 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.3447, allocations: 12.05 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3447, allocations: 5.156 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.3447, allocations: 1.812 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3447, allocations: 7.938 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3447, allocations: 0 / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.345, allocations: 177.7 kB / 0.5247 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.345, allocations: 80.22 kB / 0.5248 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.345, allocations: 4.703 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.3451, allocations: 8.297 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3451, allocations: 8.438 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.3451, allocations: 2.188 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.3452, allocations: 112.5 kB / 0.5249 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3452, allocations: 0 / 0.5249 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3455, allocations: 18.91 kB / 0.5249 GB, free: 15.34 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.0008994/0.3464, allocations: 397.7 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.3466, allocations: 56.28 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3466, allocations: 0 / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.3467, allocations: 30.61 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.347, allocations: 17.45 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.3474, allocations: 200.5 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3477, allocations: 0.6951 MB / 0.5263 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.3477, allocations: 20.64 kB / 0.5263 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3477, allocations: 0 / 0.5263 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.004042/0.3518, allocations: 1.404 MB / 0.5277 GB, free: 13.93 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches