Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 95.31 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8988/0.8988, allocations: 158.6 MB / 185.7 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1389/0.1389, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.216e-05, allocations: 8.219 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.005717/0.005749, allocations: 1.603 MB / 349.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006119/0.006361, allocations: 319.4 kB / 349.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.00642, allocations: 0 / 349.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.006656, allocations: 19.86 kB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.006862, allocations: 43.7 kB / 349.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.007076, allocations: 71.78 kB / 349.7 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.007213, allocations: 55.84 kB / 349.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.00731, allocations: 11.92 kB / 349.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.007367, allocations: 27.92 kB / 349.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.007421, allocations: 15.92 kB / 349.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.007436, allocations: 4 kB / 349.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.255e-05/0.007509, allocations: 27.98 kB / 349.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.007561, allocations: 11.98 kB / 349.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.007594, allocations: 11.92 kB / 349.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.007755, allocations: 59.77 kB / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.007759, allocations: 0 / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.007761, allocations: 0 / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.007767, allocations: 3.984 kB / 350 MB, free: 7.145 MB / 282.7 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.0003712/0.008138, allocations: 404.2 kB / 350.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.008179, allocations: 12.03 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.008226, allocations: 8.891 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.008346, allocations: 136.5 kB / 350.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.008357, allocations: 384 / 350.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.008379, allocations: 8.312 kB / 350.5 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.008499, allocations: 50.95 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.00851, allocations: 192 / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.008521, allocations: 12.11 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.008529, allocations: 0 / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.008561, allocations: 11.94 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.008832, allocations: 271.8 kB / 350.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.009006, allocations: 39.06 kB / 350.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.009028, allocations: 15.77 kB / 350.9 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.009051, allocations: 3.938 kB / 350.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.009071, allocations: 41.33 kB / 350.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.009072, allocations: 0 / 350.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003679/0.00944, allocations: 85.81 kB / 351 MB, free: 5.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.009465, allocations: 55.34 kB / 351.1 MB, free: 5.863 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.009554, allocations: 192.2 kB / 351.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.009561, allocations: 25.7 kB / 351.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.009595, allocations: 150.8 kB / 351.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.009616, allocations: 15.84 kB / 351.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.00965, allocations: 19.38 kB / 351.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.009703, allocations: 0.4923 MB / 352 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.009722, allocations: 4 kB / 352 MB, free: 4.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.553e-05/0.009737, allocations: 8 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.009778, allocations: 23.88 kB / 352 MB, free: 4.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00978, allocations: 4 kB / 352 MB, free: 4.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.358e-05/0.009863, allocations: 61.52 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.009879, allocations: 4 kB / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.009886, allocations: 8.047 kB / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.009902, allocations: 3.984 kB / 352.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.009959, allocations: 11.98 kB / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.009964, allocations: 0 / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.009987, allocations: 8 kB / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.009993, allocations: 0 / 352.1 MB, free: 4.785 MB / 282.7 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.007e-05/0.01004, allocations: 152.6 kB / 352.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.01007, allocations: 11.89 kB / 352.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.01019, allocations: 74.08 kB / 352.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.0102, allocations: 3.938 kB / 352.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.0102, allocations: 4 kB / 352.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.0102, allocations: 0 / 352.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.01344, allocations: 309.4 kB / 352.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01345, allocations: 4 kB / 352.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.01349, allocations: 11.98 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01349, allocations: 0 / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.0135, allocations: 4 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.0135, allocations: 192 / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01351, allocations: 4 kB / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.714e-05/0.0136, allocations: 207.8 kB / 352.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.01361, allocations: 11.95 kB / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.01363, allocations: 4 kB / 352.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.51e-05/0.01367, allocations: 7.984 kB / 352.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.01371, allocations: 0 / 352.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.01371, allocations: 4 kB / 352.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.656e-05/0.01375, allocations: 142 kB / 353 MB, free: 3.773 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01375, allocations: 0 / 353 MB, free: 3.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.01391, allocations: 23.92 kB / 353.1 MB, free: 3.75 MB / 282.7 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.0008572/0.01476, allocations: 376.9 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01489, allocations: 27.62 kB / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01489, allocations: 0 / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.01492, allocations: 27.67 kB / 353.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.01523, allocations: 21.17 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.01562, allocations: 158 kB / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.01565, allocations: 67.34 kB / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.364e-05/0.01568, allocations: 11.92 kB / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.01571, allocations: 12.5 kB / 353.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01572, allocations: 0 / 353.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of Templates: time 0.003182/0.0189, allocations: 1.221 MB / 355 MB, free: 1.891 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.08846286078915]