Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 111.8 kB / 18.45 MB, free: 4.598 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.001113/0.001113, allocations: 186.3 kB / 19.38 MB, free: 3.68 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.368/1.368, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2032/0.2032, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.417, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002883/0.4199, allocations: 1.58 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007261/0.4207, allocations: 415.2 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.4207, allocations: 1.812 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.4211, allocations: 124.7 kB / 0.5217 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.4214, allocations: 88.41 kB / 0.5217 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.4218, allocations: 108.2 kB / 0.5218 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.422, allocations: 90.16 kB / 0.5219 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4221, allocations: 15.02 kB / 0.5219 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.4222, allocations: 52.94 kB / 0.522 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.4224, allocations: 80.09 kB / 0.5221 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.4224, allocations: 3.031 kB / 0.5221 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.4225, allocations: 43.84 kB / 0.5221 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.4226, allocations: 28.19 kB / 0.5221 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.4226, allocations: 39.19 kB / 0.5222 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.4228, allocations: 116.4 kB / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4229, allocations: 0 / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4229, allocations: 0 / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4229, allocations: 1.375 kB / 0.5223 GB, free: 1.977 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.0004475/0.4233, allocations: 431.2 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4234, allocations: 9.062 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.4234, allocations: 16.25 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.4236, allocations: 199.7 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4236, allocations: 1.625 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.4236, allocations: 7 kB / 0.5229 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.4238, allocations: 62.34 kB / 0.523 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4238, allocations: 0 / 0.523 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.4238, allocations: 1.625 kB / 0.523 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4238, allocations: 0 / 0.523 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-05/0.4239, allocations: 31.27 kB / 0.523 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.4243, allocations: 309.8 kB / 0.5233 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.4244, allocations: 53 kB / 0.5234 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.4245, allocations: 23 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.4245, allocations: 1.641 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4246, allocations: 36.45 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4246, allocations: 0 / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009173/0.4255, allocations: 241.3 kB / 0.5236 GB, free: 0.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.4255, allocations: 56.34 kB / 0.5237 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.4258, allocations: 276.4 kB / 0.524 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4258, allocations: 30.98 kB / 0.524 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.4259, allocations: 111.6 kB / 0.5241 GB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.4259, allocations: 28.94 kB / 0.5241 GB, free: 424 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.426, allocations: 20.67 kB / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.585e-05/0.426, allocations: 329.7 kB / 0.5245 GB, free: 76 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.4261, allocations: 29.36 kB / 0.5245 GB, free: 68 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.4262, allocations: 34.94 kB / 0.5245 GB, free: 56 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.4264, allocations: 71.34 kB / 0.5246 GB, free: 28 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4264, allocations: 0 / 0.5246 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00025/0.4266, allocations: 114.5 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4266, allocations: 5.062 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.4267, allocations: 1.188 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4267, allocations: 0.5625 kB / 0.5247 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.4268, allocations: 21.27 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4268, allocations: 7.875 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.4269, allocations: 5.031 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4269, allocations: 2.906 kB / 0.5247 GB, free: 15.96 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 (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.0001262/0.427, allocations: 134.9 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.427, allocations: 14.16 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.4274, allocations: 138.1 kB / 0.525 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.4274, allocations: 5.406 kB / 0.525 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4274, allocations: 5.031 kB / 0.525 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4274, allocations: 0.5625 kB / 0.525 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.428, allocations: 422.7 kB / 0.5254 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.428, allocations: 5 kB / 0.5254 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.4281, allocations: 24.69 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4281, allocations: 1.562 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4281, allocations: 5.25 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4281, allocations: 1.859 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4281, allocations: 1.688 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.4284, allocations: 215 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.4285, allocations: 93.36 kB / 0.5258 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.4285, allocations: 4.453 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.4286, allocations: 10.03 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.4286, allocations: 9.766 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.4287, allocations: 2.641 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.4289, allocations: 204 kB / 0.526 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4289, allocations: 1.375 kB / 0.526 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.4291, allocations: 23.55 kB / 0.526 GB, free: 14.97 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.001068/0.4302, allocations: 467.3 kB / 0.5265 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.4305, allocations: 75.95 kB / 0.5265 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4305, allocations: 0 / 0.5265 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.4306, allocations: 41.86 kB / 0.5266 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.431, allocations: 19.36 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.4316, allocations: 330.7 kB / 0.5269 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4319, allocations: 0.7177 MB / 0.5276 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.432, allocations: 22.98 kB / 0.5276 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.432, allocations: 0 / 0.5276 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.004485/0.4365, allocations: 1.892 MB / 0.5295 GB, free: 12.99 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches