Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001842/0.001842, allocations: 84.95 kB / 20.68 MB, free: 1.039 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.002327/0.002327, allocations: 158.1 kB / 23.95 MB, free: 4.168 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.525/1.525, allocations: 177 MB / 204.1 MB, free: 9.184 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.2165/0.2165, allocations: 34.26 MB / 294.8 MB, free: 14.55 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 442.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.418e-05/3.664e-05, allocations: 2.281 kB / 442.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003691/0.003728, allocations: 1.906 MB / 444.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.005801, allocations: 1.012 MB / 445.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.005904, allocations: 11.94 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.006243, allocations: 43.69 kB / 445.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.006629, allocations: 99.42 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.006906, allocations: 99.56 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.007167, allocations: 151.5 kB / 446 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.007291, allocations: 17.81 kB / 446.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.007435, allocations: 83.73 kB / 446.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.00754, allocations: 31.91 kB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.007567, allocations: 8 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.007677, allocations: 55.84 kB / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.007754, allocations: 27.86 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.824e-05/0.007822, allocations: 35.84 kB / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.00816, allocations: 151.5 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.008168, allocations: 8 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.008169, allocations: 0 / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.008179, allocations: 0 / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007626/0.008942, allocations: 411 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.008979, allocations: 8.031 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.009038, allocations: 16.84 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.009428, allocations: 170.3 kB / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.00945, allocations: 8.375 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.00948, allocations: 4.375 kB / 447.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.009791, allocations: 142.4 kB / 447.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.009806, allocations: 4.172 kB / 447.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.00982, allocations: 384 / 447.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.009828, allocations: 11.88 kB / 447.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.01, allocations: 55.95 kB / 447.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.01066, allocations: 440.7 kB / 447.7 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.01105, allocations: 86.59 kB / 447.8 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2114/0.2225, allocations: 35.34 kB / 447.8 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.2225, allocations: 1.375 kB / 447.8 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/0.2229, allocations: 109.4 kB / 447.9 MB, free: 19.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 3.947e-06/0.2229, allocations: 0 / 447.9 MB, free: 19.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005885/0.2235, allocations: 155.1 kB / 448.1 MB, free: 19.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.2235, allocations: 53.27 kB / 448.1 MB, free: 19.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.2238, allocations: 204.7 kB / 448.3 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2238, allocations: 30.92 kB / 448.4 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.2239, allocations: 121.3 kB / 448.5 MB, free: 18.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.224, allocations: 30.83 kB / 448.5 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.224, allocations: 28.34 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.2241, allocations: 331.1 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2242, allocations: 32.3 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2243, allocations: 64.28 kB / 449 MB, free: 18.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.2245, allocations: 107.6 kB / 449.1 MB, free: 18.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2245, allocations: 0.7031 kB / 449.1 MB, free: 18.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002742/0.2248, allocations: 139.7 kB / 449.2 MB, free: 18.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2248, allocations: 5.844 kB / 449.2 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2248, allocations: 0.9688 kB / 449.2 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2249, allocations: 2.531 kB / 449.2 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.225, allocations: 26.55 kB / 449.2 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.225, allocations: 1.859 kB / 449.2 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.2251, allocations: 17.59 kB / 449.3 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2251, allocations: 8.438 kB / 449.3 MB, free: 18.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 8.758e-05/0.2252, allocations: 131.3 kB / 449.4 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.2252, allocations: 15.72 kB / 449.4 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.2255, allocations: 134.8 kB / 449.5 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2255, allocations: 2.188 kB / 449.5 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2255, allocations: 0.7969 kB / 449.5 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2255, allocations: 3.938 kB / 449.5 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2257, allocations: 152.5 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2257, allocations: 4.906 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.2257, allocations: 12.58 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2257, allocations: 4.109 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2258, allocations: 5.922 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2258, allocations: 1.281 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2258, allocations: 0.6562 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.2262, allocations: 191.5 kB / 449.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.2262, allocations: 23.03 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2262, allocations: 1.562 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.2263, allocations: 6.828 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.2263, allocations: 6.781 kB / 449.9 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.2263, allocations: 8.062 kB / 450 MB, free: 18.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.2265, allocations: 147.4 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2265, allocations: 0 / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.2267, allocations: 31.8 kB / 450.1 MB, free: 17.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001601/0.2283, allocations: 429.8 kB / 450.5 MB, free: 17.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.2286, allocations: 86.38 kB / 450.6 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2286, allocations: 192 / 450.6 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.2287, allocations: 43.91 kB / 450.7 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.229, allocations: 40.16 kB / 450.7 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.2295, allocations: 256.2 kB / 451 MB, free: 17.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.809e-05/0.2296, allocations: 105.3 kB / 451.1 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.293e-05/0.2296, allocations: 24.27 kB / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.2297, allocations: 17.55 kB / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2297, allocations: 0 / 451.1 MB, free: 17.46 MB / 366.1 MB Notification: Performance of Templates: time 0.006117/0.2358, allocations: 2.045 MB / 453.2 MB, free: 17.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.919353038072586]