Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.001581/0.001581, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.001499/0.001499, allocations: 212.5 kB / 25.13 MB, free: 3.605 MB / 14.72 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.447/1.447, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2245/0.2245, allocations: 46.93 MB / 362 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 180] 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22") [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.00233/0.00233, allocations: 83.84 kB / 0.4979 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3189, allocations: 66.08 MB / 0.5624 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003452/0.3223, allocations: 1.737 MB / 0.5641 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.3242, allocations: 1.053 MB / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3243, allocations: 3.938 kB / 0.5651 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.3246, allocations: 39.77 kB / 0.5652 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.3249, allocations: 99.53 kB / 0.5653 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.3251, allocations: 79.73 kB / 0.5653 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.3253, allocations: 111.7 kB / 0.5654 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.3253, allocations: 4 kB / 0.5654 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.3254, allocations: 47.73 kB / 0.5655 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.3255, allocations: 35.83 kB / 0.5655 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3255, allocations: 4 kB / 0.5655 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3256, allocations: 39.98 kB / 0.5656 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.3257, allocations: 23.86 kB / 0.5656 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.3258, allocations: 39.73 kB / 0.5656 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.326, allocations: 122 kB / 0.5657 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.326, allocations: 3.938 kB / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.326, allocations: 4 kB / 0.5658 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.326, allocations: 0 / 0.5658 GB, free: 0.7969 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.0005365/0.3265, allocations: 345.6 kB / 0.5661 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3265, allocations: 8.031 kB / 0.5661 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.3266, allocations: 12.83 kB / 0.5661 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3269, allocations: 158.9 kB / 0.5663 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3269, allocations: 4.375 kB / 0.5663 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.3269, allocations: 384 / 0.5663 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3271, allocations: 61.98 kB / 0.5663 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3271, allocations: 0 / 0.5663 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3271, allocations: 0 / 0.5663 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3271, allocations: 4 kB / 0.5663 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.3272, allocations: 15.98 kB / 0.5663 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.3275, allocations: 267.8 kB / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3277, allocations: 58.67 kB / 0.5666 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.3278, allocations: 16.86 kB / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3278, allocations: 0 / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.328, allocations: 71.39 kB / 0.5667 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.328, allocations: 0 / 0.5667 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005501/0.3285, allocations: 173.3 kB / 0.5669 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3286, allocations: 63.34 kB / 0.567 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3288, allocations: 198.3 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3288, allocations: 29.64 kB / 0.5672 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.3289, allocations: 112.1 kB / 0.5673 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.3289, allocations: 27.78 kB / 0.5673 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.3289, allocations: 17.72 kB / 0.5673 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3291, allocations: 326.8 kB / 0.5676 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.3292, allocations: 27.98 kB / 0.5677 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.3292, allocations: 33.7 kB / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3293, allocations: 57.7 kB / 0.5677 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3293, allocations: 0 / 0.5677 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.3295, allocations: 109.6 kB / 0.5679 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3295, allocations: 8 kB / 0.5679 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3296, allocations: 0 / 0.5679 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3296, allocations: 4.031 kB / 0.5679 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-05/0.3297, allocations: 19.92 kB / 0.5679 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3297, allocations: 4 kB / 0.5679 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.3297, allocations: 0 / 0.5679 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3297, allocations: 8 kB / 0.5679 GB, free: 14.4 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.0001062/0.3298, allocations: 125.8 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.3298, allocations: 16.09 kB / 0.568 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.3301, allocations: 111.1 kB / 0.5681 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3301, allocations: 15.86 kB / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3301, allocations: 0 / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3301, allocations: 0 / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.3306, allocations: 366.4 kB / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3306, allocations: 3.938 kB / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.3306, allocations: 8 kB / 0.5685 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3306, allocations: 0 / 0.5685 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3306, allocations: 7.984 kB / 0.5685 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3306, allocations: 7.938 kB / 0.5685 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3306, allocations: 4.406 kB / 0.5685 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3309, allocations: 200.3 kB / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.3309, allocations: 11.89 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3309, allocations: 8 kB / 0.5687 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.331, allocations: 3.938 kB / 0.5687 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.331, allocations: 15.92 kB / 0.5688 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3311, allocations: 8 kB / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3312, allocations: 148.2 kB / 0.5689 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3312, allocations: 0 / 0.5689 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3315, allocations: 23.92 kB / 0.5689 GB, free: 13.24 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.001668/0.3331, allocations: 456.4 kB / 0.5694 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3333, allocations: 59.91 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3333, allocations: 0 / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.3334, allocations: 27.98 kB / 0.5695 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3337, allocations: 23.97 kB / 0.5695 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.3343, allocations: 234.8 kB / 0.5697 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.3346, allocations: 0.7118 MB / 0.5704 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.988e-05/0.3347, allocations: 12.97 kB / 0.5704 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.3347, allocations: 19.42 kB / 0.5704 GB, free: 11.82 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3347, allocations: 0 / 0.5704 GB, free: 11.82 MB / 414.1 MB Notification: Performance of Templates: time 0.005224/0.34, allocations: 1.769 MB / 0.5722 GB, free: 10.06 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.899876808049157]