Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001505/0.001505, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.001839/0.001839, allocations: 160.9 kB / 24.26 MB, free: 148 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.492/1.492, allocations: 177 MB / 204.4 MB, free: 5.625 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.3678/0.3678, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.99e-05, allocations: 2.312 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003643/0.003673, allocations: 1.73 MB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.00591, allocations: 0.9736 MB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.005987, allocations: 0 / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.006305, allocations: 43.64 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.006658, allocations: 99.53 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.00688, allocations: 79.66 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.007093, allocations: 111.6 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.007186, allocations: 8 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.0073, allocations: 55.88 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.00738, allocations: 23.86 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.007401, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.007509, allocations: 55.84 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.007566, allocations: 15.92 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.007617, allocations: 19.94 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.007855, allocations: 119.6 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007859, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007861, allocations: 3.938 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.007866, allocations: 0 / 380.6 MB, free: 15.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006201/0.008486, allocations: 341.6 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.008523, allocations: 8.031 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.008591, allocations: 16.84 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.008908, allocations: 158.2 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.008922, allocations: 384 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.008958, allocations: 8.375 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.00912, allocations: 58.23 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.009131, allocations: 192 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.009144, allocations: 4.359 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.009152, allocations: 7.938 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.009229, allocations: 15.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.009621, allocations: 240.4 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.009809, allocations: 54.69 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.009874, allocations: 20.84 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.009893, allocations: 8 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.01006, allocations: 67.33 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.01006, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006214/0.01068, allocations: 189.4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.01074, allocations: 55.34 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.01098, allocations: 202.7 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.01101, allocations: 29.7 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.01109, allocations: 108.1 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.01113, allocations: 23.8 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.01118, allocations: 33.64 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.01136, allocations: 322.8 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.01142, allocations: 20 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.0115, allocations: 33.7 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.01164, allocations: 65.64 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01164, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002278/0.01187, allocations: 105.6 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01189, allocations: 8 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.01189, allocations: 4.016 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.01191, allocations: 4 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.01201, allocations: 19.92 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.01202, allocations: 4.156 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.01206, allocations: 0 / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01207, allocations: 4 kB / 382.8 MB, free: 13.08 MB / 362.7 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 (10): * Single equations (assignments): 10 * 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.0001198/0.01219, allocations: 125.8 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.01223, allocations: 19.84 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.01251, allocations: 123 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.01251, allocations: 4 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.01252, allocations: 4.375 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01252, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.01304, allocations: 354.9 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.01304, allocations: 8 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.01309, allocations: 8 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01309, allocations: 0 / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.0131, allocations: 3.984 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.0131, allocations: 4 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0131, allocations: 0 / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.0134, allocations: 216.2 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.01342, allocations: 11.91 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.01345, allocations: 8 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.01353, allocations: 7.922 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.01357, allocations: 7.984 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.01359, allocations: 4 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.01376, allocations: 155.2 kB / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01376, allocations: 0 / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.01403, allocations: 23.94 kB / 383.9 MB, free: 11.94 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.002225/0.01625, allocations: 487.8 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.01646, allocations: 67.83 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01646, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.01655, allocations: 31.92 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.01693, allocations: 32.09 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.01745, allocations: 225.6 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.01757, allocations: 96.28 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.01762, allocations: 17.28 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.01767, allocations: 20.48 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01767, allocations: 8 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.005552/0.02322, allocations: 1.855 MB / 386.7 MB, free: 9.258 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.864994133939035]