Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0009993/0.0009993, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001013/0.001013, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.9922/0.9922, allocations: 177 MB / 205.1 MB, free: 5.488 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.2376/0.2376, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.042e-05, allocations: 10.25 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001979/0.001999, allocations: 1.628 MB / 380.9 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006699/0.002669, allocations: 0.5524 MB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.002718, allocations: 0 / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.002904, allocations: 27.86 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.003124, allocations: 83.55 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.003315, allocations: 87.64 kB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.00345, allocations: 79.77 kB / 381.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.003535, allocations: 15.84 kB / 381.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.003594, allocations: 31.91 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.003658, allocations: 31.89 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.003671, allocations: 4 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.003805, allocations: 95.77 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.003842, allocations: 23.91 kB / 381.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.003866, allocations: 15.94 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.004043, allocations: 143.5 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004046, allocations: 3.938 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004047, allocations: 0 / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.00405, allocations: 0 / 382.1 MB, free: 15.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003497/0.004399, allocations: 428 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.004432, allocations: 12.03 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.00446, allocations: 8.891 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.00458, allocations: 144.4 kB / 382.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.004588, allocations: 4.375 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.004604, allocations: 8.375 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.004717, allocations: 108 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004725, allocations: 192 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.004732, allocations: 384 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.004736, allocations: 384 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.004761, allocations: 15.92 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.005007, allocations: 264.4 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.005061, allocations: 46.98 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.005079, allocations: 15.69 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.0051, allocations: 4 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.005123, allocations: 41.52 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.005124, allocations: 0 / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002778/0.005402, allocations: 125.7 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.005431, allocations: 77.11 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.005531, allocations: 201.8 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.005543, allocations: 33.64 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.00559, allocations: 138.9 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.00561, allocations: 31.73 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.005641, allocations: 31.36 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.005753, allocations: 0.4962 MB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.005768, allocations: 4 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.005803, allocations: 61.06 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.005843, allocations: 35.66 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.005843, allocations: 0 / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.993e-05/0.005923, allocations: 73.58 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005935, allocations: 11.94 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.005938, allocations: 0 / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.005948, allocations: 0 / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.825e-05/0.006006, allocations: 19.98 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.006009, allocations: 0 / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.006028, allocations: 4.031 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.006032, allocations: 4 kB / 384.5 MB, free: 12.36 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 (9): * Single equations (assignments): 9 * 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 5.973e-05/0.006092, allocations: 160.5 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.006111, allocations: 11.95 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.006216, allocations: 82.38 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006219, allocations: 4 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006221, allocations: 0 / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006223, allocations: 0 / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.006452, allocations: 333.9 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.006455, allocations: 7.938 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.006487, allocations: 12 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.00649, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.006495, allocations: 3.984 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.006496, allocations: 240 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006497, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.006602, allocations: 215.8 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.006614, allocations: 19.88 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.006625, allocations: 0 / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.00666, allocations: 7.984 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.00668, allocations: 4 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.006683, allocations: 7.938 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.006735, allocations: 150.2 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006735, allocations: 0 / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.006923, allocations: 43.86 kB / 385.5 MB, free: 11.25 MB / 362.7 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 (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.0009194/0.007842, allocations: 494.5 kB / 386 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.007927, allocations: 43.58 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007929, allocations: 0 / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.007955, allocations: 35.61 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.00814, allocations: 19.92 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.0084, allocations: 186.3 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.008432, allocations: 63.34 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.745e-05/0.008469, allocations: 16.48 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.008539, allocations: 90.17 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.00854, allocations: 0 / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.003424/0.01196, allocations: 2.27 MB / 388.7 MB, free: 8.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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: 2.9619847740978003]