Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001369/0.001369, allocations: 81.55 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001443/0.001443, allocations: 159.9 kB / 24.5 MB, free: 3.719 MB / 14.72 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.453/1.453, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 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.2168/0.2168, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 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.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 83.86 kB / 443.2 MB, free: 6.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3298, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00297/0.3327, allocations: 1.719 MB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.3351, allocations: 1.666 MB / 0.5006 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3352, allocations: 0 / 0.5006 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.3355, allocations: 44.38 kB / 0.5007 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.3359, allocations: 101.6 kB / 0.5008 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.3361, allocations: 75.83 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3363, allocations: 113.9 kB / 0.501 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3364, allocations: 11.34 kB / 0.501 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.3365, allocations: 50.67 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3366, allocations: 39.92 kB / 0.5011 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3366, allocations: 7 kB / 0.5011 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.3368, allocations: 111.2 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.3369, allocations: 25.77 kB / 0.5012 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.3369, allocations: 32.84 kB / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.3372, allocations: 175.4 kB / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3372, allocations: 7.031 kB / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3372, allocations: 0 / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3372, allocations: 0 / 0.5014 GB, free: 27.14 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004926/0.3377, allocations: 364.8 kB / 0.5018 GB, free: 26.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3377, allocations: 9.375 kB / 0.5018 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3378, allocations: 8.047 kB / 0.5018 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.338, allocations: 156.5 kB / 0.5019 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.338, allocations: 6.922 kB / 0.5019 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3381, allocations: 3.406 kB / 0.5019 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3382, allocations: 110.9 kB / 0.502 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3382, allocations: 3.953 kB / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3383, allocations: 0 / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3383, allocations: 0 / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.053e-05/0.3384, allocations: 38.22 kB / 0.5021 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.3387, allocations: 242.6 kB / 0.5023 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.3388, allocations: 77.34 kB / 0.5024 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.3389, allocations: 25.64 kB / 0.5024 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3389, allocations: 0 / 0.5024 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.3391, allocations: 80.58 kB / 0.5025 GB, free: 26.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3391, allocations: 0 / 0.5025 GB, free: 26.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005909/0.3397, allocations: 214 kB / 0.5027 GB, free: 26.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3397, allocations: 83.62 kB / 0.5028 GB, free: 26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3398, allocations: 183.7 kB / 0.5029 GB, free: 25.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3399, allocations: 25.7 kB / 0.503 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.3399, allocations: 103 kB / 0.5031 GB, free: 25.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3399, allocations: 34.28 kB / 0.5031 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.34, allocations: 31.81 kB / 0.5031 GB, free: 25.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.34, allocations: 325.6 kB / 0.5034 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.3401, allocations: 26.88 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.3402, allocations: 77.47 kB / 0.5035 GB, free: 25.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3403, allocations: 75.48 kB / 0.5036 GB, free: 25.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3403, allocations: 0 / 0.5036 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000191/0.3405, allocations: 126 kB / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3405, allocations: 5.25 kB / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3405, allocations: 0 / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3405, allocations: 2.594 kB / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.3406, allocations: 21.25 kB / 0.5038 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3406, allocations: 2.562 kB / 0.5038 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.3406, allocations: 0 / 0.5038 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3407, allocations: 5.656 kB / 0.5038 GB, free: 25.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 7.578e-05/0.3407, allocations: 128.8 kB / 0.5039 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3408, allocations: 9.641 kB / 0.5039 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.341, allocations: 155.2 kB / 0.504 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.341, allocations: 0 / 0.504 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.341, allocations: 0 / 0.504 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.341, allocations: 3.656 kB / 0.504 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.3414, allocations: 382.2 kB / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3414, allocations: 0 / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.3415, allocations: 16.94 kB / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3415, allocations: 0 / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3415, allocations: 6.828 kB / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3415, allocations: 4.031 kB / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3415, allocations: 0 / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.3417, allocations: 234.2 kB / 0.5047 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.3417, allocations: 11.03 kB / 0.5047 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3417, allocations: 10.73 kB / 0.5047 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.3418, allocations: 3.125 kB / 0.5047 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3419, allocations: 14.22 kB / 0.5047 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3419, allocations: 3.188 kB / 0.5047 GB, free: 24.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.782e-05/0.342, allocations: 137.4 kB / 0.5048 GB, free: 24.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.342, allocations: 0 / 0.5048 GB, free: 24.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.3423, allocations: 53.48 kB / 0.5049 GB, free: 24.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002012/0.3443, allocations: 0.5672 MB / 0.5054 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.3445, allocations: 78.72 kB / 0.5055 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3445, allocations: 0 / 0.5055 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.3445, allocations: 49.81 kB / 0.5056 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3449, allocations: 31.56 kB / 0.5056 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.3453, allocations: 229.5 kB / 0.5058 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.3453, allocations: 91.7 kB / 0.5059 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.959e-05/0.3454, allocations: 16.78 kB / 0.5059 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.3455, allocations: 32.53 kB / 0.5059 GB, free: 23.75 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3455, allocations: 0 / 0.5059 GB, free: 23.75 MB / 446.1 MB Notification: Performance of Templates: time 0.005238/0.3507, allocations: 2.632 MB / 0.5085 GB, free: 23.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.989473520079628]