Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001866/0.001866, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002174/0.002174, allocations: 156.9 kB / 24.27 MB, free: 172 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.574/1.574, allocations: 177 MB / 204.5 MB, free: 5.617 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.3583/0.3583, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.314e-05, allocations: 8.844 kB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004275/0.004308, allocations: 1.864 MB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.006872, allocations: 1.091 MB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.007024, allocations: 0 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006875/0.007711, allocations: 259.1 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006813/0.008393, allocations: 243.1 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.008793, allocations: 119.5 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.009311, allocations: 279.2 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.009444, allocations: 17.95 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.009794, allocations: 155.6 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.01014, allocations: 195.6 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.01018, allocations: 12 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.01035, allocations: 67.84 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.01047, allocations: 63.78 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.782e-05/0.01057, allocations: 55.72 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.01103, allocations: 239.2 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.01104, allocations: 3.938 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01104, allocations: 0 / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.01105, allocations: 0 / 381.9 MB, free: 14.14 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009298/0.01198, allocations: 0.5196 MB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.01202, allocations: 8.031 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01212, allocations: 40.7 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.01259, allocations: 240.1 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.01261, allocations: 8.375 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.01265, allocations: 8.375 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.01294, allocations: 114.2 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.01296, allocations: 4.172 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.01298, allocations: 4.375 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01299, allocations: 7.938 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.01315, allocations: 51.89 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.01382, allocations: 416.5 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.01428, allocations: 125.2 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.0144, allocations: 45.77 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.01443, allocations: 4 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.0147, allocations: 121 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.0147, allocations: 0 / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001614/0.01631, allocations: 0.5399 MB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.01639, allocations: 85.09 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.01703, allocations: 0.4977 MB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.01706, allocations: 29.7 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.01721, allocations: 168.5 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/0.01731, allocations: 79.38 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.01739, allocations: 41.7 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003601/0.01775, allocations: 354.7 kB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.01791, allocations: 55.98 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.01808, allocations: 95.39 kB / 385.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.01841, allocations: 163.3 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01841, allocations: 0 / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005092/0.01892, allocations: 253.6 kB / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01894, allocations: 4 kB / 386 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01895, allocations: 4 kB / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.01897, allocations: 0 / 386 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.01913, allocations: 47.98 kB / 386 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.01914, allocations: 0 / 386 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01924, allocations: 19.92 kB / 386 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.01926, allocations: 8 kB / 386 MB, free: 9.801 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002067/0.01947, allocations: 173.8 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.01957, allocations: 39.77 kB / 386.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009134/0.02048, allocations: 289.2 kB / 386.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.02049, allocations: 4 kB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.0205, allocations: 0 / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.02051, allocations: 7.984 kB / 386.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.02218, allocations: 0.6917 MB / 387.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.02219, allocations: 0 / 387.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.02236, allocations: 35.92 kB / 387.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.02237, allocations: 4 kB / 387.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.0224, allocations: 7.984 kB / 387.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.02241, allocations: 7.938 kB / 387.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.02241, allocations: 4.125 kB / 387.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008982/0.02331, allocations: 453.6 kB / 387.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.02338, allocations: 31.7 kB / 387.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.02344, allocations: 8 kB / 387.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.02371, allocations: 19.92 kB / 387.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/0.02381, allocations: 23.95 kB / 387.8 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.02385, allocations: 8 kB / 387.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000657/0.02451, allocations: 383.1 kB / 388.2 MB, free: 7.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02451, allocations: 0 / 388.2 MB, free: 7.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006615/0.02517, allocations: 47.94 kB / 388.3 MB, free: 7.504 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003594/0.02876, allocations: 0.5397 MB / 388.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006723/0.02943, allocations: 163.5 kB / 389 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.02944, allocations: 0 / 389 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.02971, allocations: 79.84 kB / 389 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.03068, allocations: 78.5 kB / 389.1 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.0324, allocations: 0.6145 MB / 389.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.03273, allocations: 182.1 kB / 389.9 MB, free: 5.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00018/0.03291, allocations: 41.91 kB / 389.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.03302, allocations: 28.48 kB / 390 MB, free: 5.918 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03302, allocations: 4 kB / 390 MB, free: 5.914 MB / 362.7 MB Notification: Performance of Templates: time 0.01244/0.04546, allocations: 3.345 MB / 393.3 MB, free: 2.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.112250228994526]