Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.002055/0.002055, 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.002126/0.002126, allocations: 164.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.586/1.586, allocations: 177 MB / 204.5 MB, free: 5.613 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.3469/0.3469, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.59e-05, allocations: 2.312 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003941/0.003977, allocations: 1.619 MB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.006422, allocations: 1.274 MB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.661e-05/0.006518, allocations: 0 / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.006861, allocations: 23.8 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.007333, allocations: 95.47 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.007737, allocations: 107.7 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.007971, allocations: 83.75 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.008104, allocations: 23.92 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.008217, allocations: 43.89 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.008361, allocations: 23.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.008388, allocations: 4 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.00863, allocations: 95.81 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.0087, allocations: 19.91 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.008761, allocations: 19.92 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.009168, allocations: 155.5 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.009175, allocations: 3.984 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009176, allocations: 0 / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.009181, allocations: 4 kB / 380.8 MB, free: 15.28 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.0007425/0.009924, allocations: 439.6 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.00998, allocations: 8.031 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.61e-05/0.01007, allocations: 16.89 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.01036, allocations: 148.4 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.01037, allocations: 384 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.01041, allocations: 8.375 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.01065, allocations: 99.31 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01067, allocations: 192 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.01069, allocations: 8.312 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.01069, allocations: 4.375 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.01082, allocations: 27.91 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.01139, allocations: 307.7 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.01154, allocations: 59.08 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.01159, allocations: 19.69 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.01163, allocations: 7.984 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.01167, allocations: 41.45 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.01167, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007034/0.01238, allocations: 165.3 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.01245, allocations: 81.11 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.01268, allocations: 212.7 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.01271, allocations: 25.7 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01282, allocations: 150.8 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.01287, allocations: 31.73 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.01293, allocations: 23.38 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003095/0.01324, allocations: 0.5001 MB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.01331, allocations: 15.92 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.01342, allocations: 73.05 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.01357, allocations: 55.7 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01357, allocations: 0 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002501/0.01382, allocations: 97.78 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.01384, allocations: 8 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01385, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.01387, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.01398, allocations: 19.92 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01399, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.01403, allocations: 4 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01404, allocations: 7.984 kB / 383.4 MB, free: 12.41 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 0.0001373/0.01418, allocations: 160.6 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.01423, allocations: 19.89 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.01454, allocations: 102.4 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01454, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.01454, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01455, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.0155, allocations: 385.2 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01551, allocations: 4 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.131e-05/0.01559, allocations: 19.98 kB / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01559, allocations: 0 / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01561, allocations: 4 kB / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.01561, allocations: 3.938 kB / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01562, allocations: 0 / 384.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.01596, allocations: 248.1 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.01598, allocations: 7.953 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.01601, allocations: 7.984 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.01608, allocations: 8 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.01613, allocations: 4 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.01614, allocations: 7.984 kB / 384.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.01628, allocations: 155.2 kB / 384.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01628, allocations: 0 / 384.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.01659, allocations: 43.86 kB / 384.6 MB, free: 11.18 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.0034/0.01999, allocations: 0.5256 MB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.02025, allocations: 63.58 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02025, allocations: 0 / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.571e-05/0.02034, allocations: 39.61 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.02068, allocations: 27.36 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.02127, allocations: 206.3 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.02137, allocations: 79.19 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.945e-05/0.02147, allocations: 25 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.02153, allocations: 20.5 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.163e-06/0.02153, allocations: 4 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of Templates: time 0.00627/0.0278, allocations: 1.931 MB / 387.5 MB, free: 8.383 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.020611244020984]