Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001067/0.001067, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.221/1.221, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.1859/0.1859, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.317, allocations: 60.83 MB / 0.5196 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002542/0.3196, allocations: 1.562 MB / 0.5211 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006071/0.3203, allocations: 397.4 kB / 0.5215 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.3203, allocations: 1.125 kB / 0.5215 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.3205, allocations: 32 kB / 0.5215 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.3207, allocations: 37.52 kB / 0.5215 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.3209, allocations: 92.7 kB / 0.5216 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3211, allocations: 59.56 kB / 0.5217 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.3212, allocations: 7.281 kB / 0.5217 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.3212, allocations: 18.23 kB / 0.5217 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.3213, allocations: 23.7 kB / 0.5217 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.3213, allocations: 2.344 kB / 0.5217 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.3214, allocations: 38.17 kB / 0.5218 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.3214, allocations: 11.92 kB / 0.5218 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.3215, allocations: 25.7 kB / 0.5218 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3216, allocations: 83.94 kB / 0.5219 GB, free: 2.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3216, allocations: 0 / 0.5219 GB, free: 2.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3216, allocations: 0 / 0.5219 GB, free: 2.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.3216, allocations: 0 / 0.5219 GB, free: 2.324 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.0003476/0.322, allocations: 378.2 kB / 0.5223 GB, free: 1.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.322, allocations: 10.59 kB / 0.5223 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3221, allocations: 8.156 kB / 0.5223 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3222, allocations: 195.4 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-06/0.3222, allocations: 1.406 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3223, allocations: 1.656 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.3224, allocations: 61.38 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3224, allocations: 8.906 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3224, allocations: 0 / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3224, allocations: 5.531 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/0.3225, allocations: 21.61 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002663/0.3228, allocations: 279.2 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.323, allocations: 44.16 kB / 0.5229 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.323, allocations: 16.88 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3231, allocations: 1.703 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.3231, allocations: 32.22 kB / 0.5229 GB, free: 1.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3231, allocations: 4 kB / 0.5229 GB, free: 1.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004936/0.3236, allocations: 140.2 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.3236, allocations: 52.47 kB / 0.5231 GB, free: 1.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.3237, allocations: 168.5 kB / 0.5233 GB, free: 1.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3238, allocations: 26.86 kB / 0.5233 GB, free: 1.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.3238, allocations: 93.67 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.3238, allocations: 19.33 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.3238, allocations: 15.75 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.3239, allocations: 323.7 kB / 0.5237 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.324, allocations: 18.83 kB / 0.5237 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.473e-05/0.324, allocations: 18.77 kB / 0.5238 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.3241, allocations: 41.84 kB / 0.5238 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3242, allocations: 5.094 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.3243, allocations: 84.81 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3243, allocations: 5.234 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3243, allocations: 1.25 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3244, allocations: 0.75 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.3244, allocations: 11.98 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3244, allocations: 0.6562 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.3245, allocations: 4.859 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.3245, allocations: 5.281 kB / 0.5239 GB, free: 492 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.556e-05/0.3246, allocations: 122.8 kB / 0.524 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.3246, allocations: 16.12 kB / 0.524 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.3248, allocations: 101.3 kB / 0.5241 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3248, allocations: 1.188 kB / 0.5241 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3248, allocations: 1.75 kB / 0.5241 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3248, allocations: 0 / 0.5241 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.3252, allocations: 344.1 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3252, allocations: 0 / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.3253, allocations: 16.58 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3253, allocations: 0.8438 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.3253, allocations: 5.5 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3253, allocations: 3.938 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3253, allocations: 5.281 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.3255, allocations: 177.6 kB / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.3255, allocations: 82.91 kB / 0.5247 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3256, allocations: 1.703 kB / 0.5247 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.3256, allocations: 8.188 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.3257, allocations: 4.844 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3257, allocations: 1.5 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.273e-05/0.3258, allocations: 127.8 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3258, allocations: 4 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.326, allocations: 14.34 kB / 0.5249 GB, free: 15.59 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.0008502/0.3269, allocations: 404.2 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.3271, allocations: 44.31 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3271, allocations: 4.969 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.191e-05/0.3272, allocations: 22.91 kB / 0.5254 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.3275, allocations: 29.66 kB / 0.5254 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.3279, allocations: 212.4 kB / 0.5256 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.3281, allocations: 0.6969 MB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.3282, allocations: 13.69 kB / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3282, allocations: 0 / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Templates: time 0.003051/0.3312, allocations: 1.419 MB / 0.5277 GB, free: 14.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches