Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.002086/0.002087, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.459/1.459, allocations: 222.9 MB / 242.4 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.2394/0.2394, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 55.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4186, allocations: 60.82 MB / 0.5189 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003234/0.4219, allocations: 1.626 MB / 0.5205 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.4236, allocations: 1.043 MB / 0.5215 GB, free: 2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.4237, allocations: 1.062 kB / 0.5215 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.4239, allocations: 18.38 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.4242, allocations: 42 kB / 0.5216 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.4245, allocations: 132.7 kB / 0.5217 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.4247, allocations: 61.56 kB / 0.5218 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.4249, allocations: 13.41 kB / 0.5218 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.4249, allocations: 29.44 kB / 0.5218 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.4251, allocations: 31.41 kB / 0.5218 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.4251, allocations: 3.531 kB / 0.5218 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.4253, allocations: 59.16 kB / 0.5219 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.4254, allocations: 15.92 kB / 0.5219 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.4254, allocations: 22.11 kB / 0.5219 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.4257, allocations: 94.84 kB / 0.522 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4257, allocations: 0 / 0.522 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4257, allocations: 0 / 0.522 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4257, allocations: 0 / 0.522 GB, free: 1.75 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.0004804/0.4262, allocations: 395.7 kB / 0.5224 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4263, allocations: 8.906 kB / 0.5224 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.4263, allocations: 13.03 kB / 0.5224 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.4265, allocations: 189.2 kB / 0.5226 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4265, allocations: 2.344 kB / 0.5226 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.4266, allocations: 10.55 kB / 0.5226 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.4268, allocations: 73.38 kB / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4268, allocations: 0 / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4268, allocations: 9.125 kB / 0.5227 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4268, allocations: 1.062 kB / 0.5227 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.427, allocations: 36.19 kB / 0.5227 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.4273, allocations: 288.2 kB / 0.523 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4275, allocations: 39.78 kB / 0.523 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.4276, allocations: 29.14 kB / 0.5231 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.4276, allocations: 0 / 0.5231 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.4276, allocations: 32.52 kB / 0.5231 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.4276, allocations: 0 / 0.5231 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007814/0.4284, allocations: 198.6 kB / 0.5233 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.4285, allocations: 78.81 kB / 0.5234 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.4286, allocations: 141.8 kB / 0.5235 GB, free: 400 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.4286, allocations: 27.39 kB / 0.5235 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.4287, allocations: 96.28 kB / 0.5236 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.4287, allocations: 20.98 kB / 0.5236 GB, free: 256 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.4288, allocations: 20.06 kB / 0.5237 GB, free: 236 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4289, allocations: 323.9 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.429, allocations: 32.92 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4291, allocations: 43.52 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.4294, allocations: 77.66 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4294, allocations: 0 / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002887/0.4297, allocations: 109.3 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4297, allocations: 8.906 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4297, allocations: 0.8438 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4297, allocations: 1.062 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.4299, allocations: 18.94 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4299, allocations: 4.703 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.4299, allocations: 21.38 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.43, allocations: 2.281 kB / 0.5243 GB, free: 15.79 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 (7): * Single equations (assignments): 7 * 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 9.674e-05/0.4301, allocations: 115.1 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.4301, allocations: 8.016 kB / 0.5244 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.4305, allocations: 130.5 kB / 0.5245 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4305, allocations: 1.312 kB / 0.5245 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4305, allocations: 0.6094 kB / 0.5245 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4305, allocations: 3.938 kB / 0.5245 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.4311, allocations: 382.4 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4311, allocations: 0 / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.4312, allocations: 19.52 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4312, allocations: 9.062 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4312, allocations: 8.938 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4312, allocations: 0 / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4312, allocations: 5.656 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.4316, allocations: 205 kB / 0.5251 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.4316, allocations: 83.97 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.4316, allocations: 5 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.4317, allocations: 12.8 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.4318, allocations: 5.938 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4318, allocations: 2.469 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.4319, allocations: 102.7 kB / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4319, allocations: 0 / 0.5253 GB, free: 14.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.4322, allocations: 28.42 kB / 0.5254 GB, free: 14.89 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 (7): * Single equations (assignments): 7 * 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.001149/0.4334, allocations: 443.3 kB / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.4338, allocations: 79.19 kB / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4338, allocations: 4 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.4339, allocations: 45.52 kB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4342, allocations: 24.05 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.4347, allocations: 183.5 kB / 0.5261 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.435, allocations: 0.6957 MB / 0.5268 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.4351, allocations: 19.47 kB / 0.5268 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.4352, allocations: 16.81 kB / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4352, allocations: 0 / 0.5268 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.005184/0.4403, allocations: 1.502 MB / 0.5283 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches