Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001766/0.001766, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001848/0.001848, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.427/1.427, 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.2251/0.2251, allocations: 46.95 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 59.89 kB / 0.4974 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2915, allocations: 66.03 MB / 0.5619 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00316/0.2947, allocations: 1.675 MB / 0.5635 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.2965, allocations: 0.9404 MB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.2965, allocations: 7.938 kB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.2969, allocations: 63.78 kB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.2972, allocations: 107.5 kB / 0.5646 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.2974, allocations: 75.72 kB / 0.5647 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.2976, allocations: 111.6 kB / 0.5648 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.2976, allocations: 4.234 kB / 0.5648 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.2977, allocations: 47.77 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2978, allocations: 51.81 kB / 0.5649 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.2978, allocations: 4 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.2979, allocations: 35.98 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.298, allocations: 27.8 kB / 0.565 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.298, allocations: 19.88 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.2983, allocations: 110 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2983, allocations: 0 / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2983, allocations: 4 kB / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2983, allocations: 0 / 0.5651 GB, free: 0.8945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005782/0.2989, allocations: 333.6 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2989, allocations: 8.031 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.2989, allocations: 12.84 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.2992, allocations: 155 kB / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.2992, allocations: 384 / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.2993, allocations: 8.125 kB / 0.5656 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2994, allocations: 49.61 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2994, allocations: 0 / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2994, allocations: 7.984 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2994, allocations: 0 / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.2995, allocations: 12 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.2997, allocations: 137.3 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.2999, allocations: 50.62 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.32e-05/0.3, allocations: 24.78 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3, allocations: 0 / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.3001, allocations: 71.27 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3001, allocations: 0 / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003075/0.3004, allocations: 101.6 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3005, allocations: 55.41 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3007, allocations: 198.2 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3007, allocations: 29.7 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.3008, allocations: 104.1 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.3008, allocations: 15.91 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.3008, allocations: 17.72 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.301, allocations: 322.8 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.301, allocations: 15.98 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.3011, allocations: 33.94 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3012, allocations: 49.7 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3012, allocations: 0 / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001768/0.3014, allocations: 101.4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3014, allocations: 4 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3014, allocations: 0 / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3014, allocations: 0 / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.3015, allocations: 15.98 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3015, allocations: 0 / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.3016, allocations: 7.938 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3016, allocations: 0 / 0.5669 GB, free: 14.81 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 (7): * Single equations (assignments): 7 * 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.0001088/0.3017, allocations: 129.8 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3017, allocations: 15.89 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3019, allocations: 90.8 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3019, allocations: 7.984 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3019, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.302, allocations: 11.91 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.302, allocations: 4 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.928e-05/0.302, allocations: 0 / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3021, allocations: 7.984 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002274/0.3023, allocations: 172.8 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002618/0.3025, allocations: 267 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.465e-05/0.3026, allocations: 19.98 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3028, allocations: 160.2 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.3028, allocations: 0 / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.3047, allocations: 449.9 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 0.0006918/0.3054, allocations: 0.654 MB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Templates: time 0.005063/0.3105, allocations: 1.742 MB / 0.5705 GB, free: 11.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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: 4.783805855993705]