Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2482/0.2482, allocations: 46.95 MB / 361.6 MB, free: 4.043 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 67.91 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4158, allocations: 66.04 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00328/0.4191, allocations: 1.726 MB / 0.5636 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.4209, allocations: 0.9707 MB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.421, allocations: 4 kB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.4213, allocations: 95.62 kB / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.4217, allocations: 119.5 kB / 0.5647 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.4219, allocations: 87.66 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.4221, allocations: 115.7 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.4222, allocations: 19.91 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.799e-05/0.4223, allocations: 55.77 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.4224, allocations: 71.73 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4224, allocations: 8 kB / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.4225, allocations: 63.97 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.4226, allocations: 27.86 kB / 0.5652 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.4226, allocations: 31.8 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.4229, allocations: 145.8 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4229, allocations: 0 / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4229, allocations: 4 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.4229, allocations: 3.938 kB / 0.5653 GB, free: 0.6055 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.0005643/0.4234, allocations: 377.3 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.4235, allocations: 8.031 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.4235, allocations: 16.84 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.4238, allocations: 159.1 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4238, allocations: 384 / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.4239, allocations: 8.234 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.424, allocations: 69.59 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.424, allocations: 0 / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4241, allocations: 0 / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4241, allocations: 3.938 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.4242, allocations: 23.98 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.4246, allocations: 248.4 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.4249, allocations: 62.55 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.425, allocations: 24.92 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.425, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.4252, allocations: 71.38 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4252, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000891/0.4261, allocations: 261.5 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.4261, allocations: 51.41 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.4264, allocations: 242.9 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.4264, allocations: 29.7 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.4265, allocations: 120 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.4266, allocations: 35.73 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.4266, allocations: 29.7 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4268, allocations: 326.8 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.4269, allocations: 27.98 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.126e-05/0.427, allocations: 49.64 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.4271, allocations: 77.7 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4271, allocations: 0 / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002566/0.4274, allocations: 137.5 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4274, allocations: 8 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4274, allocations: 0 / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.4275, allocations: 0 / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.4275, allocations: 23.98 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4275, allocations: 0 / 0.5677 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.4276, allocations: 7.938 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.4276, allocations: 8 kB / 0.5677 GB, free: 13.96 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.000152/0.4278, allocations: 137.8 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.4278, allocations: 11.91 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.4282, allocations: 163 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4282, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4282, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4282, allocations: 3.938 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.4288, allocations: 399.7 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4288, allocations: 4 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.4289, allocations: 19.94 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4289, allocations: 3.938 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4289, allocations: 8.047 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4289, allocations: 4 kB / 0.5685 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4289, allocations: 0 / 0.5685 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.4292, allocations: 241.1 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.4292, allocations: 15.89 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.4293, allocations: 11.94 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.4293, allocations: 0 / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4294, allocations: 15.86 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.4294, allocations: 8 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.4296, allocations: 175.2 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4296, allocations: 0 / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000286/0.4299, allocations: 43.92 kB / 0.5689 GB, free: 12.63 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 (12): * Single equations (assignments): 10 * 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.002287/0.4322, allocations: 0.5368 MB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.4324, allocations: 83.84 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4324, allocations: 0 / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.4325, allocations: 39.92 kB / 0.5696 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.0004063/0.4329, allocations: 46.5 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.4336, allocations: 296.5 kB / 0.5699 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.4338, allocations: 105.8 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.151e-05/0.4338, allocations: 16.64 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.4339, allocations: 15.44 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4339, allocations: 4 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Templates: time 0.006355/0.4402, allocations: 2.199 MB / 0.5722 GB, free: 9.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.338657306012465]