Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 110.8 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.001348/0.001348, allocations: 183.1 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.218/1.218, allocations: 222.9 MB / 243.1 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.1863/0.1863, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 55.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002596/0.3174, allocations: 1.617 MB / 0.5212 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006465/0.3181, allocations: 415.2 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.3181, allocations: 4.969 kB / 0.5216 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.3184, allocations: 28.91 kB / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.3185, allocations: 44.73 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.3188, allocations: 89.52 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.319, allocations: 76.3 kB / 0.5218 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3191, allocations: 25.62 kB / 0.5218 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.3191, allocations: 36.75 kB / 0.5219 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.3192, allocations: 29.2 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3192, allocations: 4.688 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.3193, allocations: 40.27 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.3194, allocations: 30.41 kB / 0.522 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.3194, allocations: 31 kB / 0.522 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3196, allocations: 107.5 kB / 0.5221 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3196, allocations: 1.062 kB / 0.5221 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3197, allocations: 0 / 0.5221 GB, free: 1.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3197, allocations: 0 / 0.5221 GB, free: 1.969 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003787/0.3201, allocations: 397.3 kB / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3201, allocations: 9.906 kB / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.3201, allocations: 8.469 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3203, allocations: 194 kB / 0.5227 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3203, allocations: 10.69 kB / 0.5227 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3203, allocations: 3.844 kB / 0.5227 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3205, allocations: 75.23 kB / 0.5228 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3205, allocations: 1.703 kB / 0.5228 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3205, allocations: 0 / 0.5228 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3206, allocations: 5.188 kB / 0.5228 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3207, allocations: 40.41 kB / 0.5228 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.3211, allocations: 327.7 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3212, allocations: 59.53 kB / 0.5232 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.3213, allocations: 23.3 kB / 0.5232 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3213, allocations: 5.125 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3214, allocations: 32.44 kB / 0.5232 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3214, allocations: 0 / 0.5232 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001019/0.3224, allocations: 305.8 kB / 0.5235 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3224, allocations: 52.38 kB / 0.5236 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3226, allocations: 152.5 kB / 0.5237 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3226, allocations: 29.7 kB / 0.5237 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.3226, allocations: 98.91 kB / 0.5238 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3227, allocations: 40.33 kB / 0.5239 GB, free: 444 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.3227, allocations: 32.5 kB / 0.5239 GB, free: 416 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.3228, allocations: 325.4 kB / 0.5242 GB, free: 88 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.3229, allocations: 38 kB / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.323, allocations: 33.8 kB / 0.5243 GB, free: 68 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3231, allocations: 90.36 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3232, allocations: 0 / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002726/0.3234, allocations: 137.2 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3235, allocations: 8.688 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3235, allocations: 1.547 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3235, allocations: 5.062 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3236, allocations: 25.22 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3236, allocations: 1.188 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.3237, allocations: 5.125 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.3237, allocations: 7.25 kB / 0.5246 GB, free: 15.95 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 (13): * Single equations (assignments): 13 * 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.311e-05/0.3238, allocations: 130.5 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.3238, allocations: 13.22 kB / 0.5247 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.3242, allocations: 161.4 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3242, allocations: 2.875 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3242, allocations: 0.7031 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3242, allocations: 4.75 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.3248, allocations: 474.7 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3248, allocations: 0 / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.3249, allocations: 23.2 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3249, allocations: 1.156 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3249, allocations: 6.812 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3249, allocations: 1.031 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3249, allocations: 2.188 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.3252, allocations: 246.9 kB / 0.5256 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.3253, allocations: 84.12 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3253, allocations: 1.812 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.3254, allocations: 9.203 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3254, allocations: 8.125 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3254, allocations: 5.062 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.735e-05/0.3255, allocations: 119.1 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3255, allocations: 0 / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3258, allocations: 26.77 kB / 0.5258 GB, free: 14.95 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 (13): * Single equations (assignments): 13 * 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.001011/0.3268, allocations: 459.9 kB / 0.5263 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.3271, allocations: 106.4 kB / 0.5264 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3271, allocations: 0 / 0.5264 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.3272, allocations: 51.69 kB / 0.5264 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3276, allocations: 22.88 kB / 0.5264 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.3281, allocations: 268 kB / 0.5267 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3283, allocations: 0.7094 MB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.3284, allocations: 21.62 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3284, allocations: 1.312 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Templates: time 0.003792/0.3322, allocations: 1.868 MB / 0.5292 GB, free: 13.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches