Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.002401/0.002401, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002787/0.002787, allocations: 160.8 kB / 24.27 MB, free: 156 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.592/1.592, allocations: 177 MB / 204.4 MB, free: 5.637 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.3653/0.3653, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.726e-05, allocations: 3.859 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003184/0.003211, allocations: 1.69 MB / 378.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.004409, allocations: 0.568 MB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.004461, allocations: 0 / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.004763, allocations: 75.7 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.005078, allocations: 111.5 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.00551, allocations: 175.5 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.005689, allocations: 95.69 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.005788, allocations: 16.22 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.005886, allocations: 59.83 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.005999, allocations: 55.86 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.00602, allocations: 4 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.006172, allocations: 51.95 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.006247, allocations: 23.88 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.006287, allocations: 15.92 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.006533, allocations: 127.5 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.006537, allocations: 0 / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.006538, allocations: 0 / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.006543, allocations: 0 / 380.3 MB, free: 15.81 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.0006141/0.007157, allocations: 459.5 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.00719, allocations: 8.031 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.007249, allocations: 20.84 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.007475, allocations: 156.8 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.007485, allocations: 384 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.007508, allocations: 8.375 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.007679, allocations: 54.23 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.007694, allocations: 192 / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.007709, allocations: 8.359 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.007713, allocations: 384 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.007843, allocations: 43.84 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.008359, allocations: 323.7 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.008596, allocations: 55.05 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.008672, allocations: 27.83 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.008687, allocations: 3.938 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.00872, allocations: 41.33 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.008721, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001121/0.009842, allocations: 289.7 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.009889, allocations: 55.41 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.01014, allocations: 249.8 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.01016, allocations: 29.7 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.01029, allocations: 158.8 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.01034, allocations: 47.69 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.0104, allocations: 39.3 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.01069, allocations: 0.504 MB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.01079, allocations: 32.05 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.01088, allocations: 32.03 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.01109, allocations: 83.59 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01109, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002979/0.01139, allocations: 121.6 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.0114, allocations: 4 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01141, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.01143, allocations: 7.984 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01153, allocations: 23.92 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.01154, allocations: 3.984 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.0116, allocations: 8 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01161, allocations: 4 kB / 383.1 MB, free: 12.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 (11): * Single equations (assignments): 11 * 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.0001345/0.01174, allocations: 168.5 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.01179, allocations: 19.91 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.01217, allocations: 139 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.01217, allocations: 4 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01218, allocations: 0 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01218, allocations: 3.984 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.01293, allocations: 460.6 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01293, allocations: 8 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.0133, allocations: 23.98 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.0133, allocations: 0 / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01332, allocations: 4 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01332, allocations: 0 / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01332, allocations: 0 / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.01374, allocations: 299 kB / 384.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.01377, allocations: 15.89 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01379, allocations: 4 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.01388, allocations: 12 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.01393, allocations: 11.92 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01394, allocations: 4 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.01412, allocations: 180.1 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01412, allocations: 0 / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.01438, allocations: 27.94 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00325/0.01763, allocations: 492.6 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.01799, allocations: 95.52 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01799, allocations: 0 / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.01814, allocations: 55.59 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.01852, allocations: 31.48 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.01923, allocations: 304.9 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.01935, allocations: 101.8 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.59e-05/0.01944, allocations: 32.45 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.01949, allocations: 16.5 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01949, allocations: 0 / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.005396/0.02489, allocations: 1.66 MB / 387.3 MB, free: 8.652 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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: 4.944252340937965]