Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001409/0.001409, 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.00189/0.00189, allocations: 161 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 1.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2736/0.2736, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.853e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002359/0.002388, allocations: 1.657 MB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.003128, allocations: 0.5376 MB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.003188, allocations: 4 kB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.003446, allocations: 67.72 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.003732, allocations: 103.5 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.003957, allocations: 95.62 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004107, allocations: 87.73 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.004204, allocations: 11.94 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.004267, allocations: 43.83 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.004372, allocations: 55.88 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.004387, allocations: 0 / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-05/0.004472, allocations: 43.98 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.004524, allocations: 19.92 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.004557, allocations: 15.92 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.004721, allocations: 87.66 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004724, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004725, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.004729, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.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.0004016/0.00513, allocations: 443.8 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.005167, allocations: 12.03 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.005211, allocations: 12.89 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.005352, allocations: 144.4 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.005362, allocations: 4.375 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.005391, allocations: 4.375 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005514, allocations: 62.94 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.005524, allocations: 192 / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.005534, allocations: 4.125 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005541, allocations: 0 / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.005578, allocations: 15.92 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.0059, allocations: 283.8 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.501e-05/0.005965, allocations: 47.05 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.005988, allocations: 15.62 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.00601, allocations: 3.984 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.006033, allocations: 41.33 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.006034, allocations: 4 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006512/0.006686, allocations: 165.3 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.006716, allocations: 59.39 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.006855, allocations: 227.3 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.006867, allocations: 33.7 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.006924, allocations: 150.8 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.006949, allocations: 23.8 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.006985, allocations: 31.36 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007101, allocations: 0.5 MB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.007123, allocations: 8 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.007142, allocations: 16.06 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.883e-05/0.007191, allocations: 39.55 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.007192, allocations: 0 / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.247e-05/0.007285, allocations: 77.59 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.007298, allocations: 8 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.007304, allocations: 0 / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.00733, allocations: 0 / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.007425, allocations: 19.98 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.007431, allocations: 0 / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.00745, allocations: 4 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.007457, allocations: 4 kB / 383.3 MB, free: 13.16 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.189e-05/0.007529, allocations: 160.5 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.007554, allocations: 19.91 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.007696, allocations: 83.44 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007699, allocations: 8 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.007702, allocations: 0 / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007705, allocations: 0 / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.00801, allocations: 377.1 kB / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.008012, allocations: 0 / 383.9 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.008057, allocations: 19.92 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.00806, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.008069, allocations: 4 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008071, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008072, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.008205, allocations: 247.5 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.008215, allocations: 7.953 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.008227, allocations: 0 / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.008266, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.008303, allocations: 15.92 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.008307, allocations: 0 / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.762e-05/0.008384, allocations: 171.8 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008384, allocations: 0 / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.008563, allocations: 23.92 kB / 384.4 MB, free: 11.95 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.000974/0.009537, allocations: 436.1 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.009664, allocations: 39.67 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009666, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.009703, allocations: 35.61 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.009946, allocations: 19.98 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.01034, allocations: 226.2 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.407e-05/0.01038, allocations: 63.34 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.804e-05/0.01042, allocations: 21.08 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.01045, allocations: 20.44 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01045, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.003488/0.01394, allocations: 1.384 MB / 386.6 MB, free: 9.832 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.307498224079609]