Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001819/0.001819, allocations: 107.6 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.002478/0.002478, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2286/0.2286, allocations: 46.96 MB / 361.6 MB, free: 4.055 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.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_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_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.88 kB / 0.4974 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 66.04 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003327/0.31, allocations: 1.71 MB / 0.5636 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.3127, allocations: 1.661 MB / 0.5652 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.3128, allocations: 4 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.313, allocations: 39.77 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.3134, allocations: 103.5 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.3136, allocations: 75.73 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.3138, allocations: 119.6 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.003e-05/0.3139, allocations: 8 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.314, allocations: 51.78 kB / 0.5656 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3141, allocations: 43.77 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.3141, allocations: 8 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3143, allocations: 111.9 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3144, allocations: 19.92 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.3144, allocations: 35.78 kB / 0.5658 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.3147, allocations: 173.8 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3147, allocations: 4 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3147, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.3147, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.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.0006019/0.3153, allocations: 369.3 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3154, allocations: 12.03 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.3154, allocations: 8.891 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.3157, allocations: 156 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3158, allocations: 8.375 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3158, allocations: 4.125 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.316, allocations: 101.1 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.316, allocations: 7.891 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.316, allocations: 4 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.316, allocations: 8 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3161, allocations: 31.97 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.3165, allocations: 236.5 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3167, allocations: 78.59 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.3168, allocations: 20.84 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3168, allocations: 4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.317, allocations: 71.39 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.317, allocations: 0 / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006299/0.3176, allocations: 221.4 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.3177, allocations: 81.11 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3179, allocations: 174.2 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3179, allocations: 29.8 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.3179, allocations: 104.1 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.318, allocations: 31.75 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.318, allocations: 25.7 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3182, allocations: 326.8 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.3183, allocations: 31.92 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3184, allocations: 76.2 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3185, allocations: 77.73 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3185, allocations: 0 / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002508/0.3188, allocations: 121.5 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3188, allocations: 7.984 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3188, allocations: 0 / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3188, allocations: 3.938 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3189, allocations: 16 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3189, allocations: 0 / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.319, allocations: 11.98 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.319, allocations: 12.03 kB / 0.5683 GB, free: 13.34 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.0001067/0.3191, allocations: 124.3 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3191, allocations: 7.953 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.3194, allocations: 146.2 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3194, allocations: 0 / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3194, allocations: 4 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3194, allocations: 0 / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.32, allocations: 382.9 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.32, allocations: 8.031 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.32, allocations: 11.94 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.32, allocations: 4 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3201, allocations: 7.984 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3201, allocations: 4 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3201, allocations: 3.938 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.3204, allocations: 220.3 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.3204, allocations: 19.89 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.3204, allocations: 4 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.3205, allocations: 0 / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3205, allocations: 19.92 kB / 0.5692 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3206, allocations: 7.938 kB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3207, allocations: 148 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3207, allocations: 0 / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.321, allocations: 47.86 kB / 0.5694 GB, free: 12.12 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 (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.00206/0.3231, allocations: 0.5912 MB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3233, allocations: 75.91 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3233, allocations: 192 / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.307e-05/0.3234, allocations: 39.86 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3238, allocations: 34.98 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3243, allocations: 256.3 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.972e-05/0.3244, allocations: 92.31 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.3245, allocations: 27.42 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3245, allocations: 0 / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.005009/0.3295, allocations: 2.57 MB / 0.573 GB, free: 8.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.976526649988955]