Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.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.001396/0.001396, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 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.001448/0.001448, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.477 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.234/0.234, allocations: 46.88 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17") [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.002316/0.002316, allocations: 79.88 kB / 0.4968 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3207, allocations: 65.97 MB / 0.5613 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002468/0.3231, allocations: 1.747 MB / 0.563 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3244, allocations: 1.047 MB / 0.564 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.3245, allocations: 3.938 kB / 0.564 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.3248, allocations: 39.11 kB / 0.564 GB, free: 32.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.325, allocations: 92.33 kB / 0.5641 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.3252, allocations: 79.53 kB / 0.5642 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3253, allocations: 107.2 kB / 0.5643 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.3254, allocations: 7.094 kB / 0.5643 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.3255, allocations: 45.33 kB / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.3256, allocations: 35.72 kB / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3256, allocations: 3.594 kB / 0.5644 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.091e-05/0.3257, allocations: 46.81 kB / 0.5644 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.3257, allocations: 21.28 kB / 0.5645 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.3258, allocations: 37.88 kB / 0.5645 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3259, allocations: 123.7 kB / 0.5646 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3259, allocations: 0 / 0.5646 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3259, allocations: 0.5 kB / 0.5646 GB, free: 32.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3259, allocations: 0 / 0.5646 GB, free: 32.26 MB / 446.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.0004414/0.3264, allocations: 417 kB / 0.565 GB, free: 31.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.3264, allocations: 9.438 kB / 0.565 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3264, allocations: 15.97 kB / 0.565 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.3266, allocations: 207.7 kB / 0.5652 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3266, allocations: 10.41 kB / 0.5652 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3267, allocations: 384 / 0.5652 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3268, allocations: 56.59 kB / 0.5653 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3268, allocations: 3.938 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3268, allocations: 6.156 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3268, allocations: 0 / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.3269, allocations: 19.33 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.3272, allocations: 291.9 kB / 0.5656 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3273, allocations: 52.88 kB / 0.5657 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.3274, allocations: 19.8 kB / 0.5657 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.3274, allocations: 3.031 kB / 0.5657 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.3275, allocations: 76.09 kB / 0.5657 GB, free: 31.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3275, allocations: 0 / 0.5657 GB, free: 31.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004524/0.328, allocations: 174.1 kB / 0.5659 GB, free: 31.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.328, allocations: 51.41 kB / 0.566 GB, free: 31.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3281, allocations: 178.3 kB / 0.5661 GB, free: 30.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.3281, allocations: 32.73 kB / 0.5662 GB, free: 30.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.3281, allocations: 99.12 kB / 0.5663 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3282, allocations: 26.44 kB / 0.5663 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.3282, allocations: 27.03 kB / 0.5663 GB, free: 30.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.3282, allocations: 332.8 kB / 0.5666 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/0.3283, allocations: 13.75 kB / 0.5666 GB, free: 30.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.3283, allocations: 34.11 kB / 0.5667 GB, free: 30.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.3284, allocations: 70.8 kB / 0.5667 GB, free: 30.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3284, allocations: 0 / 0.5667 GB, free: 30.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001525/0.3286, allocations: 99.81 kB / 0.5668 GB, free: 30.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3286, allocations: 8.938 kB / 0.5668 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3286, allocations: 0 / 0.5668 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3286, allocations: 7.25 kB / 0.5668 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.3287, allocations: 27.61 kB / 0.5669 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3287, allocations: 0 / 0.5669 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.3287, allocations: 3.312 kB / 0.5669 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3287, allocations: 0 / 0.5669 GB, free: 30.27 MB / 446.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 6.288e-05/0.3288, allocations: 131.1 kB / 0.567 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.3288, allocations: 13.97 kB / 0.567 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.329, allocations: 118.3 kB / 0.5671 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.329, allocations: 0 / 0.5671 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.329, allocations: 3 kB / 0.5671 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.329, allocations: 0 / 0.5671 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.3294, allocations: 397.8 kB / 0.5675 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3294, allocations: 0 / 0.5675 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.3294, allocations: 10.72 kB / 0.5675 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3294, allocations: 1.078 kB / 0.5675 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3294, allocations: 3.328 kB / 0.5675 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3294, allocations: 11.03 kB / 0.5675 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3294, allocations: 80 / 0.5675 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.3296, allocations: 212.5 kB / 0.5677 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.3296, allocations: 85.27 kB / 0.5678 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.3296, allocations: 7.531 kB / 0.5678 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3297, allocations: 5.156 kB / 0.5678 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.3297, allocations: 10.17 kB / 0.5678 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.3297, allocations: 2.875 kB / 0.5678 GB, free: 29.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.81e-05/0.3298, allocations: 137.8 kB / 0.568 GB, free: 29.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 0 / 0.568 GB, free: 29.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.3301, allocations: 24.25 kB / 0.568 GB, free: 29.32 MB / 446.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.00159/0.3317, allocations: 466.8 kB / 0.5684 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.3318, allocations: 57.86 kB / 0.5685 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3318, allocations: 4.062 kB / 0.5685 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.3319, allocations: 26 kB / 0.5685 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3322, allocations: 29.56 kB / 0.5686 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.3326, allocations: 236.3 kB / 0.5688 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3327, allocations: 0.6993 MB / 0.5695 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.309e-05/0.3327, allocations: 21.52 kB / 0.5695 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.3327, allocations: 20.8 kB / 0.5695 GB, free: 28.19 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3327, allocations: 0 / 0.5695 GB, free: 28.19 MB / 446.1 MB Notification: Performance of Templates: time 0.00423/0.337, allocations: 1.766 MB / 0.5712 GB, free: 27.98 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.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.001569873187691]