Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001818/0.001818, allocations: 81.39 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.002124/0.002124, allocations: 159.3 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.446/1.446, allocations: 177.1 MB / 204.7 MB, free: 8.961 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.2126/0.2126, allocations: 34.27 MB / 295.4 MB, free: 14.47 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 79.86 kB / 443.2 MB, free: 6.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3387, allocations: 66.05 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002763/0.3414, allocations: 1.741 MB / 0.499 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3428, allocations: 0.9689 MB / 0.5 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.3429, allocations: 11.06 kB / 0.5 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.3432, allocations: 110.5 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.3435, allocations: 128.4 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3436, allocations: 77.09 kB / 0.5003 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3438, allocations: 131.7 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.3439, allocations: 21.8 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.344, allocations: 64.44 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.3441, allocations: 72.48 kB / 0.5006 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3441, allocations: 6.344 kB / 0.5006 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.3442, allocations: 62.25 kB / 0.5006 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.3443, allocations: 33.53 kB / 0.5007 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.3443, allocations: 32.75 kB / 0.5007 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3445, allocations: 156.9 kB / 0.5009 GB, free: 27.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3445, allocations: 0 / 0.5009 GB, free: 27.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3445, allocations: 0 / 0.5009 GB, free: 27.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3445, allocations: 0 / 0.5009 GB, free: 27.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005005/0.345, allocations: 401.5 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.345, allocations: 13.41 kB / 0.5013 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.3451, allocations: 15.34 kB / 0.5013 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3453, allocations: 161 kB / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3453, allocations: 7.469 kB / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3453, allocations: 384 / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3455, allocations: 77.16 kB / 0.5015 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3455, allocations: 0 / 0.5015 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3455, allocations: 0 / 0.5015 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3455, allocations: 0 / 0.5015 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.3456, allocations: 36.39 kB / 0.5015 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.3459, allocations: 271.1 kB / 0.5018 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3462, allocations: 72.19 kB / 0.5019 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.3463, allocations: 28.66 kB / 0.5019 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3463, allocations: 7.031 kB / 0.5019 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3464, allocations: 83.64 kB / 0.502 GB, free: 26.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3464, allocations: 3.938 kB / 0.502 GB, free: 26.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007306/0.3472, allocations: 292 kB / 0.5023 GB, free: 26.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.3472, allocations: 55.41 kB / 0.5023 GB, free: 26.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3474, allocations: 265.4 kB / 0.5026 GB, free: 26.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3474, allocations: 25.7 kB / 0.5026 GB, free: 26.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.3474, allocations: 118.1 kB / 0.5027 GB, free: 26.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3474, allocations: 37.36 kB / 0.5027 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3475, allocations: 27.88 kB / 0.5028 GB, free: 26.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.3475, allocations: 334.7 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.3476, allocations: 34.5 kB / 0.5031 GB, free: 25.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.3477, allocations: 49.7 kB / 0.5032 GB, free: 25.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.3478, allocations: 100.2 kB / 0.5033 GB, free: 25.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3478, allocations: 4 kB / 0.5033 GB, free: 25.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002039/0.348, allocations: 144.8 kB / 0.5034 GB, free: 25.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.348, allocations: 10.38 kB / 0.5034 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.348, allocations: 0 / 0.5034 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3481, allocations: 0 / 0.5034 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.3481, allocations: 26.77 kB / 0.5034 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3481, allocations: 3.75 kB / 0.5034 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.3482, allocations: 7.203 kB / 0.5034 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3482, allocations: 7.297 kB / 0.5035 GB, free: 25.62 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 (14): * Single equations (assignments): 14 * 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.869e-05/0.3483, allocations: 145.4 kB / 0.5036 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3483, allocations: 18.34 kB / 0.5036 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.3486, allocations: 175.8 kB / 0.5038 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3486, allocations: 3.031 kB / 0.5038 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3486, allocations: 0 / 0.5038 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3486, allocations: 0 / 0.5038 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.349, allocations: 433.5 kB / 0.5042 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.349, allocations: 10.59 kB / 0.5042 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.3491, allocations: 19.75 kB / 0.5042 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3491, allocations: 0 / 0.5042 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3491, allocations: 3.281 kB / 0.5042 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.3491, allocations: 10.61 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3491, allocations: 0 / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3493, allocations: 264.9 kB / 0.5045 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.3494, allocations: 14.11 kB / 0.5045 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3494, allocations: 2.875 kB / 0.5045 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.3495, allocations: 14.47 kB / 0.5045 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.3495, allocations: 16.36 kB / 0.5045 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.3495, allocations: 9.344 kB / 0.5045 GB, free: 24.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.3496, allocations: 202.4 kB / 0.5047 GB, free: 24.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3496, allocations: 0 / 0.5047 GB, free: 24.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.3499, allocations: 43.77 kB / 0.5048 GB, free: 24.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001926/0.3518, allocations: 0.5189 MB / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.352, allocations: 93.47 kB / 0.5054 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3521, allocations: 0 / 0.5054 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.3521, allocations: 53.14 kB / 0.5054 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3525, allocations: 44.08 kB / 0.5055 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.3529, allocations: 332.2 kB / 0.5058 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.994e-05/0.353, allocations: 115 kB / 0.5059 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.3531, allocations: 23.53 kB / 0.5059 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.3531, allocations: 20.77 kB / 0.5059 GB, free: 24.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3531, allocations: 2.938 kB / 0.5059 GB, free: 24.07 MB / 446.1 MB Notification: Performance of Templates: time 0.004675/0.3578, allocations: 2.222 MB / 0.5081 GB, free: 23.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.011865803040564]