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.001844/0.001844, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002089/0.002089, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.553/1.553, allocations: 230.6 MB / 258.2 MB, free: 7.828 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.2388/0.2388, allocations: 46.97 MB / 361.6 MB, free: 4.059 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+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.002104/0.002104, allocations: 63.91 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 66.04 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003249/0.3443, allocations: 1.722 MB / 0.5636 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3461, allocations: 0.9832 MB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.3461, allocations: 0 / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.3464, allocations: 87.69 kB / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.3468, allocations: 123.5 kB / 0.5647 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.347, allocations: 83.66 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.3472, allocations: 119.7 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.3473, allocations: 11.97 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.3474, allocations: 67.7 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.3475, allocations: 67.8 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3475, allocations: 4 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3477, allocations: 63.97 kB / 0.5651 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.3477, allocations: 23.86 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.3478, allocations: 35.73 kB / 0.5652 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.348, allocations: 149.8 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.348, allocations: 0 / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.348, allocations: 0 / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.348, allocations: 4 kB / 0.5653 GB, free: 0.5938 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.0005992/0.3486, allocations: 373.3 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3487, allocations: 12.03 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.3487, allocations: 16.83 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.3492, allocations: 155.1 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3492, allocations: 8.312 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.3492, allocations: 8.125 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3494, allocations: 53.67 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3495, allocations: 4 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3495, allocations: 4 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3495, allocations: 4 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.3496, allocations: 23.97 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.35, allocations: 248.4 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.3502, allocations: 58.48 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.3503, allocations: 24.97 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3503, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.3504, allocations: 75.38 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.3504, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000892/0.3513, allocations: 265.1 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3514, allocations: 59.34 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.3516, allocations: 242.9 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3516, allocations: 25.7 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.3517, allocations: 120 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.3518, allocations: 31.73 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.3518, allocations: 25.72 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.352, allocations: 330.8 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.352, allocations: 27.98 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.3521, allocations: 49.7 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3523, allocations: 81.64 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3523, allocations: 0 / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.3525, allocations: 133.5 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3525, allocations: 4 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3525, allocations: 0.7031 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3526, allocations: 7.984 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.3527, allocations: 23.92 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3527, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.519e-05/0.3527, allocations: 15.97 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3527, allocations: 4 kB / 0.5677 GB, free: 13.94 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.0001157/0.3528, allocations: 129.8 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.3529, allocations: 15.91 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.3532, allocations: 158.9 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3532, allocations: 7.938 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3532, allocations: 0 / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3532, allocations: 3.938 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.3538, allocations: 399.8 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3538, allocations: 0 / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.3539, allocations: 12 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3539, allocations: 7.938 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3539, allocations: 4 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.3539, allocations: 4 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.3539, allocations: 3.984 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.3543, allocations: 237.1 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.3544, allocations: 12 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3544, allocations: 15.86 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.3545, allocations: 12.06 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3545, allocations: 7.984 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3545, allocations: 7.938 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.3547, allocations: 179.2 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3547, allocations: 0 / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.355, allocations: 27.94 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.002181/0.3572, allocations: 0.5438 MB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.3574, allocations: 87.78 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3574, allocations: 0 / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3575, allocations: 39.92 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3579, allocations: 52.44 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.3585, allocations: 314.1 kB / 0.5699 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.3586, allocations: 106 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.3586, allocations: 19.44 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3586, allocations: 0 / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004514/0.3632, allocations: 2.313 MB / 0.5723 GB, free: 9.355 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 -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: 7.966105293016881]