Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001809/0.001809, 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.001708/0.001708, 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.513/1.513, allocations: 177 MB / 204.4 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.3398/0.3398, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.954e-05, allocations: 4.844 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003624/0.003654, allocations: 1.719 MB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.005623, allocations: 0.9697 MB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.005693, allocations: 3.938 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.006004, allocations: 47.69 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.006375, allocations: 99.64 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.006598, allocations: 83.59 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.00681, allocations: 103.5 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.006912, allocations: 15.91 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.007024, allocations: 47.91 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.007125, allocations: 27.86 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.007148, allocations: 4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.007261, allocations: 47.91 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.851e-05/0.00733, allocations: 19.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.007386, allocations: 23.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.00763, allocations: 115.6 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.007634, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007635, allocations: 3.938 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.007639, allocations: 0 / 380.6 MB, free: 15.47 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.0006561/0.008295, allocations: 345.6 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.008333, allocations: 8.031 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.008399, allocations: 16.84 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.008692, allocations: 150.3 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.008709, allocations: 4.375 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.008738, allocations: 8.359 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.00891, allocations: 62.17 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.008927, allocations: 4.188 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.008937, allocations: 384 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.008944, allocations: 3.938 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.009038, allocations: 23.98 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.00944, allocations: 236.5 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.009638, allocations: 62.59 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.009702, allocations: 20.86 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.009718, allocations: 4 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.009901, allocations: 75.31 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.009903, allocations: 0 / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000639/0.01054, allocations: 177.4 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.01059, allocations: 51.41 kB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.01084, allocations: 206.7 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.01086, allocations: 25.7 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.01096, allocations: 108.1 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.011, allocations: 23.8 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.01105, allocations: 33.64 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.01123, allocations: 322.8 kB / 382.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.0113, allocations: 27.92 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.01138, allocations: 33.7 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.01176, allocations: 61.7 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.01176, allocations: 0 / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000243/0.01201, allocations: 113.5 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01202, allocations: 4 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.01202, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01204, allocations: 4.031 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.01214, allocations: 19.98 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01215, allocations: 160 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.0122, allocations: 4 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.01221, allocations: 4 kB / 382.8 MB, free: 13.09 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.0001231/0.01233, allocations: 129.8 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.01236, allocations: 15.84 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.01266, allocations: 131 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01266, allocations: 0 / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01266, allocations: 4.375 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01267, allocations: 3.984 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.0132, allocations: 350.9 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.0132, allocations: 4 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.01325, allocations: 11.98 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01325, allocations: 0 / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01326, allocations: 4 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01326, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01327, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.01357, allocations: 220.2 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.0136, allocations: 19.89 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.01362, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.01369, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.01374, allocations: 11.98 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.01376, allocations: 4 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.01391, allocations: 151.2 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01391, allocations: 0 / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.01418, allocations: 23.94 kB / 383.9 MB, free: 11.95 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.002212/0.0164, allocations: 496.8 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.0166, allocations: 59.86 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01661, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.0167, allocations: 23.98 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.01707, allocations: 36.09 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.01761, allocations: 229.5 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.01773, allocations: 100.3 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.01779, allocations: 17.27 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.01783, allocations: 16.5 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01783, allocations: 4 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Templates: time 0.005515/0.02335, allocations: 1.866 MB / 386.7 MB, free: 9.258 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.826148513937369]