Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.002545/0.002545, allocations: 99.53 kB / 20.96 MB, free: 3.449 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.00204/0.00204, allocations: 160.8 kB / 24.27 MB, free: 148 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.626/1.626, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3985/0.3985, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.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.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.326e-05, allocations: 2.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.004695/0.004728, allocations: 1.599 MB / 378.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.006328, allocations: 0.5448 MB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.006397, allocations: 0 / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.006662, allocations: 19.84 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.007062, allocations: 79.56 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.007489, allocations: 111.6 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.007699, allocations: 63.84 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.007816, allocations: 15.97 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.007928, allocations: 27.92 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.008002, allocations: 15.92 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.008027, allocations: 4 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.008156, allocations: 43.84 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.008223, allocations: 11.94 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.008262, allocations: 7.938 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.008517, allocations: 87.7 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.008521, allocations: 0 / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.008522, allocations: 0 / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.008528, allocations: 0 / 379.9 MB, free: 264 kB / 346.7 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.0007452/0.009274, allocations: 411.8 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.009318, allocations: 12.03 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.009385, allocations: 8.891 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.00964, allocations: 136.5 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.009657, allocations: 4.375 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.009686, allocations: 12.36 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.009856, allocations: 42.25 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.00987, allocations: 192 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.009879, allocations: 384 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.009885, allocations: 4.312 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.009998, allocations: 23.92 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.01055, allocations: 283.8 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.01084, allocations: 47.05 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.01092, allocations: 19.77 kB / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.01094, allocations: 0 / 380.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.01098, allocations: 37.39 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.01098, allocations: 0 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007171/0.0117, allocations: 137.3 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.01175, allocations: 51.41 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.01203, allocations: 213.2 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.01205, allocations: 25.7 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.01218, allocations: 146.9 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.01222, allocations: 15.89 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.01228, allocations: 27.31 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003578/0.01264, allocations: 0.4962 MB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.01272, allocations: 11.98 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.01279, allocations: 12 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.01294, allocations: 39.67 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01294, allocations: 0 / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002455/0.01319, allocations: 81.56 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.0132, allocations: 4 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01321, allocations: 4 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01322, allocations: 0 / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.01331, allocations: 15.92 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01332, allocations: 0 / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.01337, allocations: 11.89 kB / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.01338, allocations: 256 / 382.1 MB, free: 13.75 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 (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.0001661/0.01355, allocations: 160.6 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.0136, allocations: 15.89 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.01391, allocations: 86.12 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01391, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01391, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01392, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.01456, allocations: 345.3 kB / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01456, allocations: 3.938 kB / 382.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.01463, allocations: 11.98 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01463, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01464, allocations: 4 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01465, allocations: 4 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01465, allocations: 0 / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.015, allocations: 227.8 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.01502, allocations: 7.953 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.01504, allocations: 0 / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.01514, allocations: 4 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.01519, allocations: 3.984 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.0152, allocations: 288 / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.01537, allocations: 155.2 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01537, allocations: 4 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.01577, allocations: 15.98 kB / 383.2 MB, free: 12.65 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 (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.003633/0.01941, allocations: 425.9 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.01966, allocations: 47.61 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01966, allocations: 0 / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01977, allocations: 35.61 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.02022, allocations: 23.3 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.02087, allocations: 194.5 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.021, allocations: 75.33 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.846e-05/0.02108, allocations: 15.97 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.02112, allocations: 12.5 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02113, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Templates: time 0.00621/0.02734, allocations: 1.175 MB / 385.2 MB, free: 10.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.007159817032516]