Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001339/0.001339, 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.001428/0.001428, allocations: 210.8 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2252/0.2252, allocations: 46.96 MB / 361.6 MB, free: 4.074 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.89 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 66.05 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003061/0.3007, allocations: 1.651 MB / 0.5635 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3025, allocations: 0.9559 MB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.3026, allocations: 0 / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.3028, allocations: 55.73 kB / 0.5645 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.3032, allocations: 103.5 kB / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3033, allocations: 71.73 kB / 0.5647 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3035, allocations: 107.6 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.3036, allocations: 12.2 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.3036, allocations: 39.8 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.3037, allocations: 51.83 kB / 0.5649 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3038, allocations: 4 kB / 0.5649 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.3038, allocations: 27.98 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.3039, allocations: 19.92 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.3039, allocations: 23.75 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3041, allocations: 114 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3041, allocations: 0 / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3041, allocations: 0 / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3041, allocations: 0 / 0.565 GB, free: 0.9297 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.0005377/0.3047, allocations: 329.7 kB / 0.5654 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3047, allocations: 16.02 kB / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.3048, allocations: 8.891 kB / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.305, allocations: 150.3 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.305, allocations: 384 / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.305, allocations: 16.05 kB / 0.5655 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3052, allocations: 53.61 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3052, allocations: 0 / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.3052, allocations: 0 / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.3052, allocations: 4 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.945e-05/0.3053, allocations: 15.98 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.3054, allocations: 125.3 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3056, allocations: 54.62 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.3057, allocations: 20.84 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.3057, allocations: 4 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.3058, allocations: 67.27 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 3.046e-06/0.3058, allocations: 0 / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003139/0.3062, allocations: 101.6 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3062, allocations: 51.41 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.3064, allocations: 195.2 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3064, allocations: 25.7 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.3065, allocations: 96.14 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.3065, allocations: 19.88 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.3066, allocations: 17.72 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3067, allocations: 322.8 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/0.3068, allocations: 19.92 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.3068, allocations: 29.72 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.3069, allocations: 45.95 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3069, allocations: 4 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.3071, allocations: 93.45 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3071, allocations: 4 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3071, allocations: 4 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3072, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/0.3072, allocations: 8 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3072, allocations: 3.984 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.3073, allocations: 4 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3073, allocations: 8.156 kB / 0.5669 GB, free: 14.86 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.0001086/0.3074, allocations: 125.8 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3074, allocations: 11.89 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.3077, allocations: 98.69 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3077, allocations: 4 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3077, allocations: 0 / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.3077, allocations: 11.95 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3077, allocations: 3.984 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.3078, allocations: 0 / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.3078, allocations: 4 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002147/0.308, allocations: 168.8 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002638/0.3083, allocations: 278.9 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.356e-05/0.3083, allocations: 23.98 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.3085, allocations: 138.1 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.3085, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.3104, allocations: 450 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 0.0009099/0.3114, allocations: 0.6528 MB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Templates: time 0.005748/0.3171, allocations: 1.732 MB / 0.5705 GB, free: 11.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.807549575001758]