Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 109.9 kB / 18.45 MB, free: 4.602 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.001355/0.001355, 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.239/1.239, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.1877/0.1877, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002677/0.3392, allocations: 1.584 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.3399, allocations: 406.7 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.3399, allocations: 0 / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.3402, allocations: 68.66 kB / 0.5216 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.3404, allocations: 65.61 kB / 0.5217 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.3407, allocations: 85.19 kB / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3408, allocations: 67.47 kB / 0.5218 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.3409, allocations: 14.59 kB / 0.5218 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.341, allocations: 40.12 kB / 0.5219 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.3411, allocations: 50.88 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3411, allocations: 2.781 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.576e-05/0.3412, allocations: 43.75 kB / 0.5219 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.3413, allocations: 14.12 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.3413, allocations: 30.48 kB / 0.522 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.3415, allocations: 97.83 kB / 0.5221 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3415, allocations: 0 / 0.5221 GB, free: 2.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3415, allocations: 0 / 0.5221 GB, free: 2.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3415, allocations: 5.75 kB / 0.5221 GB, free: 2.02 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.0003751/0.3419, allocations: 402.4 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.342, allocations: 10.34 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.342, allocations: 10.17 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3421, allocations: 192.2 kB / 0.5227 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.3422, allocations: 5.938 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.3422, allocations: 2.969 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3423, allocations: 59.72 kB / 0.5227 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3423, allocations: 2.031 kB / 0.5227 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3424, allocations: 4 kB / 0.5227 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3424, allocations: 1.281 kB / 0.5227 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3425, allocations: 32.12 kB / 0.5228 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.3428, allocations: 285.2 kB / 0.523 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3429, allocations: 46.45 kB / 0.5231 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.343, allocations: 15.64 kB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.343, allocations: 1.125 kB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.343, allocations: 40.58 kB / 0.5231 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.343, allocations: 0 / 0.5231 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008228/0.3438, allocations: 214.2 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.3439, allocations: 64.83 kB / 0.5234 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.344, allocations: 194.6 kB / 0.5236 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3441, allocations: 25.7 kB / 0.5236 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.3441, allocations: 104.7 kB / 0.5237 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.3441, allocations: 25.53 kB / 0.5237 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.3442, allocations: 20.64 kB / 0.5238 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.3442, allocations: 325.6 kB / 0.5241 GB, free: 196 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.3443, allocations: 26.44 kB / 0.5241 GB, free: 188 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.3444, allocations: 22.8 kB / 0.5241 GB, free: 184 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3445, allocations: 63.94 kB / 0.5242 GB, free: 156 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3445, allocations: 0 / 0.5242 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001898/0.3447, allocations: 104.4 kB / 0.5243 GB, free: 96 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3447, allocations: 6 kB / 0.5243 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3448, allocations: 0 / 0.5243 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3448, allocations: 4 kB / 0.5243 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.3449, allocations: 17.92 kB / 0.5243 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3449, allocations: 5.031 kB / 0.5243 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.3449, allocations: 4.656 kB / 0.5243 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.3449, allocations: 6.281 kB / 0.5243 GB, free: 84 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 (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.77e-05/0.345, allocations: 129.6 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.3451, allocations: 9.234 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.3453, allocations: 116.4 kB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3454, allocations: 1.188 kB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3454, allocations: 5.734 kB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3454, allocations: 0 / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.3459, allocations: 399.4 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3459, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.346, allocations: 29.81 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.346, allocations: 5.844 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.346, allocations: 0 / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.346, allocations: 6.578 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.346, allocations: 480 / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.3462, allocations: 202.6 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.3463, allocations: 92.22 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3463, allocations: 1.703 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3464, allocations: 9.906 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3465, allocations: 5.375 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3465, allocations: 6.812 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.3466, allocations: 146.8 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3466, allocations: 1.844 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3468, allocations: 21.92 kB / 0.5255 GB, free: 15.14 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.0009821/0.3478, allocations: 468.4 kB / 0.5259 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3481, allocations: 61.36 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3481, allocations: 4 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.809e-05/0.3482, allocations: 34.59 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3486, allocations: 28.53 kB / 0.526 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.349, allocations: 264 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.3493, allocations: 0.7044 MB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.3493, allocations: 19.75 kB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3493, allocations: 0 / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.003446/0.3528, allocations: 1.684 MB / 0.5286 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches