Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.0009643/0.0009643, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009803/0.0009803, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9743/0.9743, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.289/0.289, allocations: 32.8 MB / 294.3 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.071e-05, allocations: 5.406 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002385/0.002415, allocations: 1.661 MB / 377.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.003185, allocations: 0.5298 MB / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.003244, allocations: 4 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.003506, allocations: 79.69 kB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.00382, allocations: 103.5 kB / 378.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.004065, allocations: 95.56 kB / 378.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.004227, allocations: 95.73 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.004317, allocations: 4 kB / 378.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.004386, allocations: 51.88 kB / 378.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.591e-05/0.004482, allocations: 47.88 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004496, allocations: 8 kB / 378.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.00458, allocations: 47.86 kB / 378.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.004629, allocations: 23.92 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.004657, allocations: 15.92 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.004817, allocations: 91.66 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004819, allocations: 0 / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00482, allocations: 0 / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.004825, allocations: 0 / 378.9 MB, free: 1.789 MB / 346.7 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.0004127/0.005238, allocations: 435.9 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.005275, allocations: 16.02 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.005321, allocations: 20.78 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005461, allocations: 145.1 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.00547, allocations: 384 / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.00549, allocations: 8.375 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.005606, allocations: 62.92 kB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.005615, allocations: 192 / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.005625, allocations: 4.125 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.005633, allocations: 4 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.204e-05/0.005665, allocations: 7.984 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.00597, allocations: 303.6 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.006037, allocations: 43.05 kB / 379.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.006059, allocations: 23.56 kB / 379.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.006076, allocations: 0 / 379.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.006099, allocations: 41.41 kB / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.0061, allocations: 0 / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005227/0.006622, allocations: 161.3 kB / 380.1 MB, free: 408 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.006653, allocations: 55.41 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.006787, allocations: 234.4 kB / 380.4 MB, free: 88 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.006797, allocations: 25.7 kB / 380.4 MB, free: 56 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.006875, allocations: 158.8 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.006901, allocations: 27.88 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.006936, allocations: 31.36 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.007047, allocations: 0.5 MB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.007073, allocations: 11.98 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.007091, allocations: 8 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.007141, allocations: 35.91 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.007141, allocations: 3.938 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.595e-05/0.007237, allocations: 77.58 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.007251, allocations: 6.031 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.007257, allocations: 8 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.00727, allocations: 0 / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.007351, allocations: 12 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.007356, allocations: 0 / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.007378, allocations: 11.98 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.007385, allocations: 4 kB / 381.3 MB, free: 15.13 MB / 362.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 (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 7.13e-05/0.007456, allocations: 168.4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.007481, allocations: 15.91 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.007623, allocations: 87.12 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.007626, allocations: 0 / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.00763, allocations: 7.984 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007633, allocations: 0 / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.007947, allocations: 369 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007949, allocations: 3.938 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.007997, allocations: 19.98 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.007999, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.008008, allocations: 4 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.008011, allocations: 3.938 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008012, allocations: 4 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.008141, allocations: 239.4 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.008151, allocations: 11.98 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.008164, allocations: 0 / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.008205, allocations: 8 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.008239, allocations: 7.922 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.008243, allocations: 4 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.699e-05/0.00832, allocations: 167.2 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008321, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001824/0.008503, allocations: 20 kB / 382.5 MB, free: 13.93 MB / 362.7 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.0009576/0.00946, allocations: 447.5 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.009589, allocations: 43.66 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009591, allocations: 0 / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.009623, allocations: 27.61 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.009874, allocations: 19.95 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.01027, allocations: 237.8 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.359e-05/0.01032, allocations: 63.34 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.01036, allocations: 25.06 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.01039, allocations: 16.5 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.01039, allocations: 0 / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003742/0.01413, allocations: 1.467 MB / 384.8 MB, free: 11.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.108572225086391]