Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.002788/0.002788, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.003171/0.003171, allocations: 156.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.642/1.642, allocations: 177 MB / 204.5 MB, free: 5.629 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.3794/0.3794, allocations: 34.25 MB / 295.2 MB, free: 0.6328 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.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.047e-06/4.047e-06, allocations: 3.984 kB / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.65e-05/4.055e-05, allocations: 2.312 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003675/0.003715, allocations: 1.918 MB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.005801, allocations: 1.036 MB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.005895, allocations: 7.938 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.006209, allocations: 43.64 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.006555, allocations: 99.47 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.006811, allocations: 99.58 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.007099, allocations: 163.4 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.007212, allocations: 17.81 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.007356, allocations: 71.8 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.007468, allocations: 35.91 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.007496, allocations: 11.94 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.007616, allocations: 51.91 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.007685, allocations: 19.92 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.355e-05/0.007759, allocations: 35.84 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.008072, allocations: 151.5 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.008075, allocations: 0 / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008076, allocations: 0 / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.008082, allocations: 4 kB / 381 MB, free: 15.06 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008094/0.008892, allocations: 0.5088 MB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.00893, allocations: 8.031 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.89e-05/0.009009, allocations: 32.73 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.009324, allocations: 177.1 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.009338, allocations: 384 / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.009369, allocations: 12.38 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.009635, allocations: 134.9 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.009646, allocations: 8.172 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.00966, allocations: 12.3 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.009667, allocations: 3.938 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.009808, allocations: 39.98 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.01057, allocations: 0.6067 MB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.01091, allocations: 87.09 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.011, allocations: 35.67 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.01102, allocations: 4 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.01123, allocations: 110.7 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.01123, allocations: 0 / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004062/0.01164, allocations: 133.5 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.01169, allocations: 55.41 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.01197, allocations: 267.1 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.012, allocations: 33.7 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.01214, allocations: 166.8 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.01217, allocations: 31.77 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.01224, allocations: 43.33 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002875/0.01253, allocations: 0.5117 MB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.01261, allocations: 23.94 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.01274, allocations: 78.41 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.01294, allocations: 102.4 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01294, allocations: 0 / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002866/0.01323, allocations: 133.5 kB / 384.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01325, allocations: 8 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01325, allocations: 0 / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01327, allocations: 0 / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.01337, allocations: 27.92 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01338, allocations: 0 / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.01345, allocations: 19.92 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.01346, allocations: 4 kB / 384.4 MB, free: 11.38 MB / 362.7 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 0.0001532/0.01361, allocations: 172.5 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.01366, allocations: 19.91 kB / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.01396, allocations: 123.6 kB / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.01396, allocations: 4 kB / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01397, allocations: 0 / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01397, allocations: 0 / 384.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.01418, allocations: 180.4 kB / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01418, allocations: 0 / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.01426, allocations: 12 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01426, allocations: 0 / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01427, allocations: 4 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.01428, allocations: 3.984 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01428, allocations: 4 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.01469, allocations: 192.2 kB / 385.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.01472, allocations: 11.91 kB / 385.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01475, allocations: 7.984 kB / 385.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.01481, allocations: 12 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.01485, allocations: 3.984 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01487, allocations: 4 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.01505, allocations: 191.1 kB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01505, allocations: 0 / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.01528, allocations: 27.94 kB / 385.4 MB, free: 10.36 MB / 362.7 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.002938/0.01822, allocations: 435.7 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.01849, allocations: 83.58 kB / 385.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0185, allocations: 0 / 385.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.01861, allocations: 43.61 kB / 385.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.01895, allocations: 50.48 kB / 386 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.01956, allocations: 270.1 kB / 386.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01967, allocations: 102.1 kB / 386.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.844e-05/0.01974, allocations: 13.48 kB / 386.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.01978, allocations: 16.5 kB / 386.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01978, allocations: 0 / 386.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of Templates: time 0.006197/0.02598, allocations: 2.056 MB / 388.4 MB, free: 7.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.057807547971606]