Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001098/0.001098, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001333/0.001333, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9959/0.9959, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.2998/0.2998, allocations: 34.87 MB / 296.3 MB, free: 0.5586 MB / 266.7 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.279e-05, allocations: 2.312 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.006554/0.006587, allocations: 1.675 MB / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.01081, allocations: 0.5642 MB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.551e-05/0.0109, allocations: 4 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.01127, allocations: 99.61 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.01171, allocations: 111.5 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.01211, allocations: 119.6 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.01235, allocations: 99.69 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.01249, allocations: 27.97 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.0126, allocations: 55.88 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.01273, allocations: 59.86 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.01275, allocations: 4 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.01287, allocations: 47.92 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.01293, allocations: 31.86 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.01297, allocations: 23.91 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.01322, allocations: 107.5 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.01322, allocations: 4 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.01322, allocations: 0 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.01323, allocations: 0 / 381.8 MB, free: 15.05 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.003601/0.01683, allocations: 467.8 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.01688, allocations: 8.031 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.01694, allocations: 24.83 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.01714, allocations: 160.2 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.01715, allocations: 4.375 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.01718, allocations: 8.359 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.01738, allocations: 73.94 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.0174, allocations: 4.188 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.01741, allocations: 8.375 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.01742, allocations: 384 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.01749, allocations: 27.92 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.01795, allocations: 339.5 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.01806, allocations: 55.03 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.0181, allocations: 23.56 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.01812, allocations: 7.984 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.01815, allocations: 33.39 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.01815, allocations: 0 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008633/0.01902, allocations: 233.2 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.01906, allocations: 59.39 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.0223, allocations: 250.7 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.02232, allocations: 25.7 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.0224, allocations: 166.8 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.02246, allocations: 51.78 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.02251, allocations: 27.38 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.02267, allocations: 0.504 MB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.02272, allocations: 23.98 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.02277, allocations: 20.11 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.02287, allocations: 58.56 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.02287, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001847/0.02305, allocations: 101.6 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.02307, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02308, allocations: 3.938 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.02309, allocations: 3.938 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.02324, allocations: 23.98 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.02325, allocations: 0 / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.02328, allocations: 11.98 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.0233, allocations: 8 kB / 384.6 MB, free: 12.06 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 (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.608e-05/0.02339, allocations: 164.5 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.02344, allocations: 15.91 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.02371, allocations: 131.7 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.02372, allocations: 8 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.02372, allocations: 0 / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.02373, allocations: 0 / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.02426, allocations: 428.9 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02426, allocations: 4.031 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/0.02435, allocations: 27.92 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.02436, allocations: 4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.02437, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.02438, allocations: 3.938 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.02438, allocations: 7.938 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.02462, allocations: 259.5 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.02464, allocations: 11.91 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.02466, allocations: 8 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.02473, allocations: 7.922 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.02477, allocations: 11.98 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.02478, allocations: 8 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.0249, allocations: 181.1 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0249, allocations: 3.938 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002388/0.02729, allocations: 31.92 kB / 385.9 MB, free: 10.69 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 (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.001319/0.02861, allocations: 422.5 kB / 386.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.02884, allocations: 67.59 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.02884, allocations: 0 / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.0289, allocations: 43.61 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.02926, allocations: 28.14 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.02982, allocations: 284.6 kB / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.02987, allocations: 75.33 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.458e-05/0.02995, allocations: 24.47 kB / 386.8 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.03, allocations: 16.5 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of SimCode: time 1.472e-06/0.03, allocations: 4.062 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of Templates: time 0.004551/0.03455, allocations: 1.744 MB / 388.6 MB, free: 8.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.16090608201921]