Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001144/0.001144, 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.001673/0.001673, allocations: 160.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 1.097/1.097, allocations: 177 MB / 204.8 MB, free: 5.582 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.3118/0.3118, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.97e-05/4.214e-05, allocations: 7.516 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002965/0.003008, allocations: 1.703 MB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000911/0.003919, allocations: 0.5876 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.003987, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.004544, allocations: 462.9 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.004978, allocations: 303.1 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.005339, allocations: 171.5 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.005559, allocations: 175.7 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.005662, allocations: 20.22 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.005781, allocations: 127.7 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.005977, allocations: 239.6 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.005996, allocations: 7.938 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.758e-05/0.006083, allocations: 47.92 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.006178, allocations: 91.69 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.006224, allocations: 39.75 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.006472, allocations: 211.1 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.006475, allocations: 4 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.006477, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.006483, allocations: 0 / 382.9 MB, free: 13.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005768/0.00706, allocations: 0.7047 MB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.007098, allocations: 8.031 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.007179, allocations: 44.66 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.007381, allocations: 248.8 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.007391, allocations: 8.375 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.007416, allocations: 4.375 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.007546, allocations: 62.88 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.007555, allocations: 8.188 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.007564, allocations: 4.375 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.007572, allocations: 384 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.007612, allocations: 15.92 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.008096, allocations: 431.6 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.008176, allocations: 47.03 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.008204, allocations: 15.69 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.00823, allocations: 4.031 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.008254, allocations: 41.38 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.008255, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007074/0.008963, allocations: 268.5 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.008995, allocations: 55.41 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.00943, allocations: 0.6316 MB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.009444, allocations: 25.7 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.009586, allocations: 282.8 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.009617, allocations: 23.75 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.009659, allocations: 31.36 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003496/0.01001, allocations: 0.5547 MB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.01004, allocations: 15.98 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.01006, allocations: 8 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.01012, allocations: 35.67 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01012, allocations: 0 / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.01024, allocations: 113.3 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01026, allocations: 4 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01026, allocations: 4 kB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.01028, allocations: 0 / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.01037, allocations: 12 kB / 386.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.01037, allocations: 3.984 kB / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.0104, allocations: 4 kB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.01041, allocations: 4 kB / 386.6 MB, free: 9.977 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 8.296e-05/0.01049, allocations: 164.5 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.01053, allocations: 48.09 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.0107, allocations: 117.8 kB / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.01071, allocations: 0 / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01071, allocations: 4 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01071, allocations: 7.984 kB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.01116, allocations: 0.5087 MB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01116, allocations: 8.031 kB / 387.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.01122, allocations: 15.98 kB / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01122, allocations: 0 / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.01123, allocations: 4 kB / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01123, allocations: 0 / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01123, allocations: 0 / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.01139, allocations: 271.2 kB / 387.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.01141, allocations: 35.72 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.01143, allocations: 11.92 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.184e-05/0.01148, allocations: 0 / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.01151, allocations: 15.92 kB / 387.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.01152, allocations: 4 kB / 387.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002643/0.01178, allocations: 426.8 kB / 388.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01178, allocations: 0 / 388.2 MB, free: 8.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.01199, allocations: 31.98 kB / 388.3 MB, free: 8.238 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.001/0.01298, allocations: 419.6 kB / 388.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01311, allocations: 43.66 kB / 388.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01311, allocations: 0 / 388.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.01314, allocations: 35.61 kB / 388.8 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.01341, allocations: 29.95 kB / 388.8 MB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.01412, allocations: 0.6083 MB / 389.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.924e-05/0.01419, allocations: 123.2 kB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.01425, allocations: 28.69 kB / 389.5 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.01428, allocations: 12.5 kB / 389.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01428, allocations: 4 kB / 389.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of Templates: time 0.004324/0.01861, allocations: 1.647 MB / 391.2 MB, free: 5.383 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.400460130069405]