Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001912/0.001912, allocations: 110.4 kB / 21.17 MB, free: 0.7734 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.00231/0.00231, allocations: 215.6 kB / 24.46 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.441/1.441, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2404/0.2404, allocations: 46.88 MB / 361.1 MB, free: 4.645 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50") [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.002387/0.002387, allocations: 79.88 kB / 0.4968 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3306, allocations: 65.99 MB / 0.5613 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003298/0.3339, allocations: 1.752 MB / 0.563 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.3365, allocations: 1.734 MB / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.3366, allocations: 0 / 0.5647 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.3369, allocations: 43.77 kB / 0.5647 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.3372, allocations: 99.53 kB / 0.5648 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.3374, allocations: 79.67 kB / 0.5649 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.3376, allocations: 111.7 kB / 0.565 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.3377, allocations: 4 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.429e-05/0.3378, allocations: 55.77 kB / 0.5651 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3379, allocations: 51.77 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.338, allocations: 4 kB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.3382, allocations: 111.9 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3382, allocations: 27.91 kB / 0.5652 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.3383, allocations: 39.73 kB / 0.5653 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.3386, allocations: 182 kB / 0.5655 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3386, allocations: 0 / 0.5655 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3386, allocations: 0 / 0.5655 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3386, allocations: 0 / 0.5655 GB, free: 0.7383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006196/0.3392, allocations: 434.5 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3392, allocations: 16.03 kB / 0.5659 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.3393, allocations: 12.88 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3396, allocations: 216.2 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3396, allocations: 4.375 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3396, allocations: 384 / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3398, allocations: 87.62 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3398, allocations: 3.953 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3398, allocations: 0 / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3399, allocations: 4 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.3399, allocations: 27.98 kB / 0.5662 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.3404, allocations: 300.8 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.3406, allocations: 66.61 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.3406, allocations: 24.86 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3406, allocations: 0 / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3408, allocations: 79.36 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.3408, allocations: 0 / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006108/0.3414, allocations: 193.4 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.3415, allocations: 77.11 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3417, allocations: 166.2 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3417, allocations: 41.64 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.3418, allocations: 100.2 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.3418, allocations: 35.8 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.3418, allocations: 21.72 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.342, allocations: 330.8 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.3421, allocations: 27.92 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.3421, allocations: 42.56 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.3423, allocations: 73.73 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3423, allocations: 0 / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002211/0.3425, allocations: 117.5 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3425, allocations: 8 kB / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3425, allocations: 0 / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3425, allocations: 0 / 0.5679 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3426, allocations: 23.98 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3426, allocations: 4.031 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.3427, allocations: 4 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3427, allocations: 0 / 0.5679 GB, free: 13.99 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 (11): * Single equations (assignments): 11 * 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.0001196/0.3428, allocations: 129.8 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.3429, allocations: 11.95 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.3431, allocations: 126.2 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3431, allocations: 0 / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3431, allocations: 4 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3431, allocations: 192 / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.3437, allocations: 427.2 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3437, allocations: 3.938 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.3437, allocations: 23.91 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3437, allocations: 0 / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3437, allocations: 0 / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3437, allocations: 7.938 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3437, allocations: 0 / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.344, allocations: 216.3 kB / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.3441, allocations: 89 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3441, allocations: 4 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.3442, allocations: 11.94 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.3442, allocations: 11.92 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3442, allocations: 0 / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3444, allocations: 128.1 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3444, allocations: 4 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.3447, allocations: 51.86 kB / 0.5691 GB, free: 12.66 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 (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.001978/0.3467, allocations: 0.5326 MB / 0.5696 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3469, allocations: 75.91 kB / 0.5697 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3469, allocations: 0 / 0.5697 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.347, allocations: 31.92 kB / 0.5697 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.3473, allocations: 39.48 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.3479, allocations: 227.1 kB / 0.57 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3482, allocations: 0.7049 MB / 0.5706 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.3483, allocations: 24.56 kB / 0.5707 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.3483, allocations: 27.38 kB / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3483, allocations: 0 / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Templates: time 0.005869/0.3542, allocations: 2.488 MB / 0.5731 GB, free: 8.664 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.103017958812416]