Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.001517/0.001517, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001637/0.001637, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.538/1.538, allocations: 230.3 MB / 258 MB, free: 8.242 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.2446/0.2446, 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40") [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.002868/0.002868, allocations: 79.88 kB / 0.4972 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4428, allocations: 66.04 MB / 0.5617 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003676/0.4465, allocations: 1.753 MB / 0.5634 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4486, allocations: 1.045 MB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.4487, allocations: 0 / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.4492, allocations: 87.69 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00051/0.4497, allocations: 119.5 kB / 0.5646 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.45, allocations: 79.67 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.4503, allocations: 119.6 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4504, allocations: 8 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.4506, allocations: 59.75 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.4508, allocations: 63.75 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.4508, allocations: 4 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.451, allocations: 43.98 kB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.451, allocations: 23.86 kB / 0.565 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.4511, allocations: 47.66 kB / 0.5651 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.4514, allocations: 126 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4514, allocations: 0 / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4514, allocations: 0 / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.4514, allocations: 0 / 0.5652 GB, free: 0.9414 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.0007145/0.4522, allocations: 353.5 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4522, allocations: 12.03 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.4523, allocations: 12.84 kB / 0.5656 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.4526, allocations: 170.7 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4527, allocations: 8.375 kB / 0.5657 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.4527, allocations: 384 / 0.5657 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.4529, allocations: 57.98 kB / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4529, allocations: 0 / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4529, allocations: 0 / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4529, allocations: 4 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.453, allocations: 15.98 kB / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.4535, allocations: 271.8 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.4537, allocations: 58.67 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.4537, allocations: 16.86 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.4537, allocations: 0 / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.4539, allocations: 67.38 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4539, allocations: 0 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006359/0.4546, allocations: 181.4 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.4546, allocations: 51.41 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.4549, allocations: 223.6 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4549, allocations: 29.64 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.455, allocations: 104.1 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.455, allocations: 27.78 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.4551, allocations: 21.72 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4552, allocations: 334.8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.4553, allocations: 27.92 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.244e-05/0.4554, allocations: 41.62 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.4555, allocations: 49.72 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4555, allocations: 7.984 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002108/0.4557, allocations: 101.5 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4557, allocations: 12.03 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4557, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4558, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4559, allocations: 20.3 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4559, allocations: 4 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.4559, allocations: 0 / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4559, allocations: 8 kB / 0.5674 GB, free: 14.49 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.0001219/0.456, allocations: 133.8 kB / 0.5675 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.4561, allocations: 11.91 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.4564, allocations: 123.2 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4564, allocations: 3.938 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4564, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4564, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.4568, allocations: 366.4 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4568, allocations: 11.92 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.4569, allocations: 8 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.4569, allocations: 4.031 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4569, allocations: 0 / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4569, allocations: 3.938 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4569, allocations: 4 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.4572, allocations: 204.3 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.4572, allocations: 11.94 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.4572, allocations: 4 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.4573, allocations: 11.94 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.4573, allocations: 11.92 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4573, allocations: 0 / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.4575, allocations: 169.1 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4575, allocations: 0 / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.4578, allocations: 39.81 kB / 0.5685 GB, free: 13.3 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.001741/0.4595, allocations: 449.9 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.4597, allocations: 55.92 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4597, allocations: 0 / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.4598, allocations: 23.98 kB / 0.569 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.4602, allocations: 41.84 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.4608, allocations: 255.6 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4613, allocations: 0.708 MB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.47e-05/0.4614, allocations: 20.95 kB / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.4614, allocations: 23.38 kB / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4614, allocations: 0 / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of Templates: time 0.00598/0.4674, allocations: 1.777 MB / 0.5717 GB, free: 10.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.631408767774701]