Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001932/0.001932, allocations: 122.7 kB / 18.46 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002853/0.002853, allocations: 211.3 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.4 MB / 251.6 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.17 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 81.98 kB / 490.2 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1303, allocations: 62.46 MB / 0.5397 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003204/0.1336, allocations: 1.589 MB / 0.5413 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1346, allocations: 0.5371 MB / 0.5418 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.1347, allocations: 4 kB / 0.5418 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.1349, allocations: 19.86 kB / 0.5418 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1353, allocations: 83.61 kB / 0.5419 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1355, allocations: 87.7 kB / 0.542 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1357, allocations: 63.89 kB / 0.542 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1358, allocations: 19.92 kB / 0.542 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.1359, allocations: 23.86 kB / 0.5421 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.136, allocations: 15.88 kB / 0.5421 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.136, allocations: 4 kB / 0.5421 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.803e-05/0.1361, allocations: 31.97 kB / 0.5421 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.1362, allocations: 15.92 kB / 0.5421 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.1362, allocations: 15.88 kB / 0.5422 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1364, allocations: 87.59 kB / 0.5422 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1364, allocations: 0 / 0.5422 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1364, allocations: 0 / 0.5422 GB, free: 1.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1364, allocations: 0 / 0.5422 GB, free: 1.727 MB / 398.1 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.0005278/0.137, allocations: 398.9 kB / 0.5426 GB, free: 1.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.137, allocations: 8.031 kB / 0.5426 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1371, allocations: 8.891 kB / 0.5426 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1373, allocations: 184.3 kB / 0.5428 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1373, allocations: 384 / 0.5428 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1373, allocations: 8.375 kB / 0.5428 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1375, allocations: 42.25 kB / 0.5429 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1375, allocations: 8.172 kB / 0.5429 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1375, allocations: 3.938 kB / 0.5429 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1375, allocations: 0 / 0.5429 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.1376, allocations: 23.92 kB / 0.5429 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.138, allocations: 276.9 kB / 0.5432 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1383, allocations: 46.5 kB / 0.5432 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.1383, allocations: 16.94 kB / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1383, allocations: 0 / 0.5432 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1384, allocations: 42.44 kB / 0.5433 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1384, allocations: 3.938 kB / 0.5433 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005746/0.139, allocations: 149.3 kB / 0.5434 GB, free: 368 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.139, allocations: 51.41 kB / 0.5435 GB, free: 304 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1392, allocations: 156.9 kB / 0.5436 GB, free: 136 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1392, allocations: 25.7 kB / 0.5436 GB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.1393, allocations: 92.14 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.1393, allocations: 19.97 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.1394, allocations: 17.72 kB / 0.5437 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1395, allocations: 330.6 kB / 0.5441 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.1396, allocations: 15.98 kB / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.1397, allocations: 19.98 kB / 0.5441 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1398, allocations: 49.02 kB / 0.5441 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1398, allocations: 0 / 0.5441 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001964/0.14, allocations: 89.56 kB / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1401, allocations: 4 kB / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1401, allocations: 0 / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1401, allocations: 0 / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.1402, allocations: 15.98 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1402, allocations: 0 / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.1402, allocations: 4.281 kB / 0.5443 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1402, allocations: 0 / 0.5443 GB, free: 15.43 MB / 414.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 (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 0.0001106/0.1403, allocations: 121.8 kB / 0.5444 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1404, allocations: 11.95 kB / 0.5444 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.1406, allocations: 93.89 kB / 0.5445 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1406, allocations: 0 / 0.5445 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1407, allocations: 0 / 0.5445 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1407, allocations: 0 / 0.5445 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.1411, allocations: 346.5 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1411, allocations: 8 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.1412, allocations: 8 kB / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1412, allocations: 0 / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1412, allocations: 3.984 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1412, allocations: 0 / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1412, allocations: 11.88 kB / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.1415, allocations: 175.7 kB / 0.545 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.1415, allocations: 89 kB / 0.5451 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1416, allocations: 7.984 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.1416, allocations: 4 kB / 0.5451 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.1417, allocations: 7.938 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.1417, allocations: 0 / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1418, allocations: 122.2 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1418, allocations: 3.938 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.142, allocations: 8 kB / 0.5452 GB, free: 14.32 MB / 414.1 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.001479/0.1435, allocations: 408.3 kB / 0.5456 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1437, allocations: 55.89 kB / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1438, allocations: 0 / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.1438, allocations: 23.98 kB / 0.5457 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1442, allocations: 14.62 kB / 0.5457 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.1447, allocations: 186 kB / 0.5459 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1451, allocations: 0.6963 MB / 0.5466 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.1451, allocations: 11.72 kB / 0.5466 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.1452, allocations: 11.44 kB / 0.5466 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1452, allocations: 3.938 kB / 0.5466 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Templates: time 0.003918/0.1491, allocations: 1.113 MB / 0.5477 GB, free: 11.9 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.245020370930433]