Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.0009913/0.0009915, allocations: 183.9 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.325/1.325, 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.2099/0.2099, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3311, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002649/0.3337, allocations: 1.583 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007155/0.3345, allocations: 418.8 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.3346, allocations: 1.188 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.3349, allocations: 102.2 kB / 0.521 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.3351, allocations: 81.62 kB / 0.5211 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3354, allocations: 111.8 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.3356, allocations: 83.28 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3357, allocations: 16.05 kB / 0.5213 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.3358, allocations: 38.12 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.3359, allocations: 65.05 kB / 0.5214 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.3359, allocations: 7.406 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.78e-05/0.3361, allocations: 47.64 kB / 0.5214 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.3361, allocations: 25.78 kB / 0.5214 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.3362, allocations: 30.8 kB / 0.5215 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.3364, allocations: 109.4 kB / 0.5216 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3364, allocations: 0.9062 kB / 0.5216 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3364, allocations: 0 / 0.5216 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.3364, allocations: 0 / 0.5216 GB, free: 1.98 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.0004985/0.3369, allocations: 427 kB / 0.522 GB, free: 1.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.337, allocations: 14.09 kB / 0.522 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.337, allocations: 11.56 kB / 0.522 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.3372, allocations: 211 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3372, allocations: 5.891 kB / 0.5222 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.3373, allocations: 7.188 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3374, allocations: 53.27 kB / 0.5223 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3375, allocations: 3.938 kB / 0.5223 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3375, allocations: 0.75 kB / 0.5223 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3375, allocations: 1.469 kB / 0.5223 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.3376, allocations: 33.95 kB / 0.5223 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.338, allocations: 303.6 kB / 0.5226 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3381, allocations: 45.34 kB / 0.5226 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.3382, allocations: 28.12 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3382, allocations: 0.9062 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3383, allocations: 36.23 kB / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.3383, allocations: 0 / 0.5227 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009611/0.3392, allocations: 243.7 kB / 0.5229 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3393, allocations: 61.2 kB / 0.523 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.3396, allocations: 243.3 kB / 0.5232 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.3396, allocations: 26.27 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.3397, allocations: 110.1 kB / 0.5233 GB, free: 444 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.3397, allocations: 29.97 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.3397, allocations: 21.33 kB / 0.5234 GB, free: 400 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.3398, allocations: 323.2 kB / 0.5237 GB, free: 76 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.3399, allocations: 30 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.34, allocations: 34.92 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.3402, allocations: 71.56 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3402, allocations: 0 / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00024/0.3404, allocations: 110.6 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3404, allocations: 10.16 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3405, allocations: 0 / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3405, allocations: 0 / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3406, allocations: 22.16 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3406, allocations: 4.641 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.3406, allocations: 8.547 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3407, allocations: 2.297 kB / 0.524 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.0001933/0.3409, allocations: 132.3 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.3409, allocations: 14.75 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.3412, allocations: 136.6 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3412, allocations: 0.875 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3412, allocations: 3.938 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3413, allocations: 2.484 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.3418, allocations: 423.4 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3419, allocations: 5.812 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.3419, allocations: 20.84 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3419, allocations: 5.281 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.342, allocations: 1.281 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.342, allocations: 0.5156 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.342, allocations: 5.25 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3422, allocations: 215 kB / 0.5249 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3423, allocations: 92.84 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3423, allocations: 5.844 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.3424, allocations: 4.688 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3424, allocations: 10.48 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3425, allocations: 6.281 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3426, allocations: 183.8 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3426, allocations: 0 / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.3429, allocations: 24.08 kB / 0.5252 GB, free: 14.98 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.001027/0.3439, allocations: 458.6 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3442, allocations: 76.41 kB / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3442, allocations: 0 / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3443, allocations: 42.56 kB / 0.5258 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3447, allocations: 29.59 kB / 0.5258 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.3452, allocations: 282.4 kB / 0.5261 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3456, allocations: 0.7226 MB / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.843e-05/0.3456, allocations: 24.25 kB / 0.5268 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.3457, allocations: 13.69 kB / 0.5268 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3457, allocations: 0 / 0.5268 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.003978/0.3497, allocations: 1.388 MB / 0.5282 GB, free: 13.34 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches