Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.001771/0.001771, allocations: 109 kB / 21.23 MB, free: 0.6719 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.0033/0.0033, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.504/1.504, allocations: 230.3 MB / 258 MB, free: 8.215 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.2723/0.2723, allocations: 46.94 MB / 361.4 MB, free: 4.395 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35") [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.002511/0.002511, allocations: 80.16 kB / 0.4972 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4204, allocations: 66.05 MB / 0.5617 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003358/0.4238, allocations: 1.76 MB / 0.5635 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.4258, allocations: 1.053 MB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.4259, allocations: 3.938 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.4263, allocations: 91.69 kB / 0.5646 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.4267, allocations: 115.6 kB / 0.5647 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.4269, allocations: 83.66 kB / 0.5648 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.4273, allocations: 131.6 kB / 0.5649 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4274, allocations: 7.984 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.4275, allocations: 67.75 kB / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.4277, allocations: 63.75 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.4277, allocations: 4 kB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.4278, allocations: 67.97 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.4279, allocations: 31.84 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.428, allocations: 39.69 kB / 0.5652 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.4283, allocations: 145.9 kB / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4283, allocations: 0 / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4283, allocations: 0 / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.4283, allocations: 0 / 0.5653 GB, free: 0.8672 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006844/0.429, allocations: 377.3 kB / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4291, allocations: 8.031 kB / 0.5657 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.4291, allocations: 16.84 kB / 0.5657 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.4295, allocations: 167.1 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4295, allocations: 4.375 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.4296, allocations: 384 / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.4298, allocations: 69.91 kB / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4298, allocations: 0 / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4298, allocations: 4 kB / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.4298, allocations: 7.938 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.4299, allocations: 19.98 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.4304, allocations: 279.8 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.4307, allocations: 58.55 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.4307, allocations: 16.98 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.4307, allocations: 8.062 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.4309, allocations: 71.38 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.4309, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008367/0.4318, allocations: 245.6 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4318, allocations: 51.41 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.4321, allocations: 246.9 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4321, allocations: 29.7 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4322, allocations: 108.1 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.4323, allocations: 39.73 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.4323, allocations: 29.7 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4325, allocations: 330.8 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.4326, allocations: 27.98 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.4327, allocations: 41.7 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4328, allocations: 85.58 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4328, allocations: 4 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002396/0.4331, allocations: 125.6 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4331, allocations: 8 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4331, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4331, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.4332, allocations: 27.92 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4332, allocations: 0 / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.4332, allocations: 3.938 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4333, allocations: 8 kB / 0.5677 GB, free: 14.2 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 (13): * Single equations (assignments): 13 * 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.0001453/0.4334, allocations: 141.5 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.4334, allocations: 11.91 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.4338, allocations: 154.9 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4338, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4338, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4338, allocations: 3.938 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.4344, allocations: 415.2 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4344, allocations: 7.984 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.4344, allocations: 16.09 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.4344, allocations: 15.86 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4345, allocations: 0 / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4345, allocations: 0 / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4345, allocations: 4 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.4348, allocations: 237.1 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.4348, allocations: 15.84 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.4348, allocations: 8 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.4349, allocations: 3.984 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.435, allocations: 7.984 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.435, allocations: 8 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.4352, allocations: 171.2 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4352, allocations: 4 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.4354, allocations: 31.92 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002084/0.4375, allocations: 0.505 MB / 0.5694 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4378, allocations: 75.91 kB / 0.5695 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4378, allocations: 3.938 kB / 0.5695 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.4379, allocations: 31.92 kB / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.4382, allocations: 43.84 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.4389, allocations: 280.4 kB / 0.5698 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.4393, allocations: 0.7197 MB / 0.5705 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.345e-05/0.4393, allocations: 16.66 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.4394, allocations: 19.42 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4394, allocations: 4 kB / 0.5706 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Templates: time 0.006017/0.4454, allocations: 2.067 MB / 0.5726 GB, free: 9.246 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.62874486669898]