Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001149/0.001149, allocations: 183.1 kB / 18.71 MB, free: 4.387 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 / 242.4 MB, free: 15.2 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.2484/0.2484, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4208, allocations: 60.82 MB / 0.5189 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003699/0.4245, allocations: 1.597 MB / 0.5205 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.4264, allocations: 1.016 MB / 0.5215 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.4265, allocations: 1.219 kB / 0.5215 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.4268, allocations: 20.03 kB / 0.5215 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.4271, allocations: 45.8 kB / 0.5215 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.4274, allocations: 97.62 kB / 0.5216 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.4276, allocations: 64.38 kB / 0.5217 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4278, allocations: 14.81 kB / 0.5217 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.032e-05/0.4279, allocations: 28.86 kB / 0.5217 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.4283, allocations: 34.81 kB / 0.5218 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.4284, allocations: 4.438 kB / 0.5218 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.4285, allocations: 55.16 kB / 0.5218 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.4286, allocations: 9.328 kB / 0.5218 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.4286, allocations: 26.81 kB / 0.5218 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.4289, allocations: 100.5 kB / 0.5219 GB, free: 1.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4289, allocations: 0 / 0.5219 GB, free: 1.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4289, allocations: 0 / 0.5219 GB, free: 1.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4289, allocations: 1.219 kB / 0.5219 GB, free: 1.812 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004754/0.4294, allocations: 388.2 kB / 0.5223 GB, free: 1.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4295, allocations: 9.812 kB / 0.5223 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.4295, allocations: 12.41 kB / 0.5223 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.4297, allocations: 191.7 kB / 0.5225 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4297, allocations: 5.75 kB / 0.5225 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4298, allocations: 2.938 kB / 0.5225 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.43, allocations: 76.91 kB / 0.5226 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.43, allocations: 0.6562 kB / 0.5226 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.43, allocations: 1.062 kB / 0.5226 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.43, allocations: 5.031 kB / 0.5226 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.4301, allocations: 37.64 kB / 0.5226 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.4305, allocations: 289.1 kB / 0.5229 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.4306, allocations: 52.75 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.4307, allocations: 20.59 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4307, allocations: 0.75 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4307, allocations: 41.28 kB / 0.523 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4307, allocations: 0 / 0.523 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006136/0.4314, allocations: 176.9 kB / 0.5232 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.4314, allocations: 79.12 kB / 0.5233 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.4316, allocations: 142 kB / 0.5234 GB, free: 464 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.4316, allocations: 27.67 kB / 0.5234 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.4316, allocations: 100.7 kB / 0.5235 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.4317, allocations: 29.77 kB / 0.5236 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.4317, allocations: 24.95 kB / 0.5236 GB, free: 284 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.4318, allocations: 320.8 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.4319, allocations: 21.3 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.4321, allocations: 40.69 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.4322, allocations: 66.62 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4323, allocations: 5.094 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002143/0.4325, allocations: 92.3 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4325, allocations: 9.531 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.4325, allocations: 0 / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4325, allocations: 1.859 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4326, allocations: 16.7 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4327, allocations: 5.375 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.4327, allocations: 12.56 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4327, allocations: 2.594 kB / 0.5242 GB, free: 15.84 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 9.918e-05/0.4328, allocations: 120.1 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.4329, allocations: 8.125 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.4332, allocations: 112.8 kB / 0.5244 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4332, allocations: 1.094 kB / 0.5244 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4332, allocations: 4 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4332, allocations: 4.594 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.4337, allocations: 380 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4337, allocations: 0 / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.4338, allocations: 21.59 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4338, allocations: 3.938 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.4338, allocations: 1.938 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4338, allocations: 0.7031 kB / 0.5248 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4338, allocations: 5.844 kB / 0.5248 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.4341, allocations: 200.3 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.4342, allocations: 83.91 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.4342, allocations: 6.781 kB / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.4343, allocations: 7.406 kB / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.4343, allocations: 7.078 kB / 0.5251 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.4343, allocations: 9.281 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.752e-05/0.4344, allocations: 106.1 kB / 0.5252 GB, free: 14.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4344, allocations: 2.5 kB / 0.5252 GB, free: 14.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.4347, allocations: 24.19 kB / 0.5252 GB, free: 14.93 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 (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.001008/0.4357, allocations: 443.2 kB / 0.5256 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.436, allocations: 64.97 kB / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.436, allocations: 0 / 0.5257 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.4361, allocations: 35.17 kB / 0.5257 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4365, allocations: 21.27 kB / 0.5258 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.4369, allocations: 186.9 kB / 0.5259 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.4373, allocations: 0.6953 MB / 0.5266 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.967e-05/0.4374, allocations: 24.34 kB / 0.5266 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.4374, allocations: 20.06 kB / 0.5267 GB, free: 13.81 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4374, allocations: 0 / 0.5267 GB, free: 13.81 MB / 398.1 MB Notification: Performance of Templates: time 0.004389/0.4418, allocations: 1.453 MB / 0.5281 GB, free: 13.38 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches