Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 218.3 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 230.2 MB / 256.8 MB, free: 8.617 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2218/0.2218, allocations: 46.89 MB / 359.9 MB, free: 4.988 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 84.09 kB / 0.495 GB, free: 8.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3082, allocations: 65.98 MB / 0.5595 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003085/0.3113, allocations: 1.736 MB / 0.5612 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.313, allocations: 1.03 MB / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.313, allocations: 3.938 kB / 0.5622 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.3133, allocations: 47.75 kB / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3136, allocations: 103.5 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.3138, allocations: 67.75 kB / 0.5624 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.314, allocations: 111.7 kB / 0.5625 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.3141, allocations: 7.984 kB / 0.5625 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.3142, allocations: 39.8 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.3142, allocations: 43.77 kB / 0.5626 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3143, allocations: 4 kB / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.3143, allocations: 39.98 kB / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.3144, allocations: 19.92 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.3145, allocations: 43.67 kB / 0.5627 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3147, allocations: 133.8 kB / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3147, allocations: 0 / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3147, allocations: 0 / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3147, allocations: 0 / 0.5628 GB, free: 1.746 MB / 398.1 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.0006694/0.3154, allocations: 426.6 kB / 0.5632 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3154, allocations: 8.031 kB / 0.5632 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.3155, allocations: 12.88 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.3158, allocations: 216.1 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3158, allocations: 12.38 kB / 0.5635 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3159, allocations: 4.125 kB / 0.5635 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.316, allocations: 65.55 kB / 0.5635 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.316, allocations: 0 / 0.5635 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3161, allocations: 0 / 0.5635 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3161, allocations: 0 / 0.5635 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.293e-05/0.3161, allocations: 19.98 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.3166, allocations: 284.8 kB / 0.5638 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3168, allocations: 66.61 kB / 0.5639 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.3168, allocations: 16.86 kB / 0.5639 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3169, allocations: 0 / 0.5639 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.317, allocations: 67.38 kB / 0.564 GB, free: 416 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.317, allocations: 4 kB / 0.564 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000572/0.3176, allocations: 173.7 kB / 0.5641 GB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.3176, allocations: 51.41 kB / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.3179, allocations: 214.2 kB / 0.5644 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3179, allocations: 29.7 kB / 0.5644 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.318, allocations: 104.1 kB / 0.5645 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.318, allocations: 19.86 kB / 0.5645 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.318, allocations: 29.7 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3182, allocations: 330.8 kB / 0.5649 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.3182, allocations: 20 kB / 0.5649 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.3183, allocations: 37.64 kB / 0.5649 GB, free: 15.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3184, allocations: 61.67 kB / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3184, allocations: 0 / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.3186, allocations: 109.5 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3186, allocations: 7.984 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3187, allocations: 4.188 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3187, allocations: 0 / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.3188, allocations: 15.94 kB / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3188, allocations: 160 / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.3188, allocations: 11.92 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3188, allocations: 4 kB / 0.5651 GB, free: 15.13 MB / 414.1 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.0001071/0.3189, allocations: 125.8 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.319, allocations: 19.94 kB / 0.5653 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3192, allocations: 115 kB / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3192, allocations: 0 / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3192, allocations: 0 / 0.5654 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3192, allocations: 15.84 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.3197, allocations: 391.3 kB / 0.5658 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3197, allocations: 4 kB / 0.5658 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.3197, allocations: 8 kB / 0.5658 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3197, allocations: 4.031 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3197, allocations: 7.922 kB / 0.5658 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3197, allocations: 3.938 kB / 0.5658 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3197, allocations: 4 kB / 0.5658 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.32, allocations: 204.3 kB / 0.566 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.32, allocations: 85.06 kB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.32, allocations: 7.938 kB / 0.5661 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.3201, allocations: 8 kB / 0.5661 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.3201, allocations: 3.984 kB / 0.5661 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3202, allocations: 4 kB / 0.5661 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3203, allocations: 160.8 kB / 0.5663 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3203, allocations: 0 / 0.5663 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3206, allocations: 27.92 kB / 0.5663 GB, free: 13.84 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001675/0.3222, allocations: 475.6 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3224, allocations: 51.97 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3224, allocations: 0 / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.265e-05/0.3225, allocations: 28.08 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3228, allocations: 32.09 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.3233, allocations: 268.4 kB / 0.5671 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3237, allocations: 0.7041 MB / 0.5678 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.3237, allocations: 19.42 kB / 0.5678 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3237, allocations: 0 / 0.5678 GB, free: 12.38 MB / 414.1 MB Notification: Performance of Templates: time 0.00396/0.3277, allocations: 1.983 MB / 0.5697 GB, free: 10.41 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches