Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001036/0.001036, allocations: 80.2 kB / 20.65 MB, free: 3.836 MB / 18.57 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.001012/0.001012, allocations: 177 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9536/0.9536, allocations: 158.6 MB / 185.9 MB, free: 2.418 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1501/0.1501, allocations: 32.37 MB / 270.7 MB, free: 14.5 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.21e-05, allocations: 9.344 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001901/0.001923, allocations: 1.808 MB / 350 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.002927, allocations: 0.8505 MB / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.003012, allocations: 7.938 kB / 350.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.003406, allocations: 311.1 kB / 351.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.003699, allocations: 211.2 kB / 351.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.003966, allocations: 139.6 kB / 351.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.004176, allocations: 255.2 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.004219, allocations: 5.812 kB / 351.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.00435, allocations: 147.6 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.004499, allocations: 207.6 kB / 352.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.00452, allocations: 8 kB / 352.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-05/0.004602, allocations: 47.86 kB / 352.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.004685, allocations: 139.6 kB / 352.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.00474, allocations: 75.66 kB / 352.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.004962, allocations: 275 kB / 352.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004964, allocations: 0 / 352.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004965, allocations: 0 / 352.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.00497, allocations: 4 kB / 352.7 MB, free: 4.613 MB / 282.7 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.0004987/0.005468, allocations: 0.7823 MB / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.005501, allocations: 8.031 kB / 353.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.005552, allocations: 60.56 kB / 353.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.005759, allocations: 304.7 kB / 353.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.005775, allocations: 4.375 kB / 353.8 MB, free: 3.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.005783, allocations: 4.375 kB / 353.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.005894, allocations: 98.2 kB / 353.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.005901, allocations: 3.938 kB / 353.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.005908, allocations: 7.984 kB / 353.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005913, allocations: 4 kB / 353.9 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/0.00594, allocations: 11.98 kB / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.006118, allocations: 220.8 kB / 354.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.006223, allocations: 90.16 kB / 354.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.00625, allocations: 31.34 kB / 354.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.006263, allocations: 4 kB / 354.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.131e-05/0.006355, allocations: 112.3 kB / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.006356, allocations: 0 / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002136/0.006569, allocations: 169.2 kB / 354.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.00659, allocations: 85.09 kB / 354.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.006912, allocations: 0.6664 MB / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.006924, allocations: 33.7 kB / 355.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.007028, allocations: 306.7 kB / 355.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.007062, allocations: 31.73 kB / 355.7 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.007099, allocations: 39.34 kB / 355.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.007248, allocations: 0.5664 MB / 356.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.007275, allocations: 11.98 kB / 356.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.007307, allocations: 52.84 kB / 356.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.007364, allocations: 74.66 kB / 356.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007366, allocations: 3.938 kB / 356.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001313/0.007498, allocations: 141.2 kB / 356.5 MB, free: 456 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.00751, allocations: 4 kB / 356.5 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.007516, allocations: 8.062 kB / 356.6 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.007528, allocations: 3.938 kB / 356.6 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.007606, allocations: 23.98 kB / 356.6 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.007609, allocations: 0 / 356.6 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.007664, allocations: 16.5 kB / 356.6 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.007671, allocations: 8 kB / 356.6 MB, free: 392 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.857e-05/0.007739, allocations: 168.4 kB / 356.8 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.007771, allocations: 51.67 kB / 356.8 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.007946, allocations: 169.7 kB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.007949, allocations: 7.938 kB / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.007951, allocations: 0 / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.007955, allocations: 0 / 357 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.008147, allocations: 225.1 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.008149, allocations: 0 / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.00818, allocations: 11.98 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.008184, allocations: 4 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.008189, allocations: 0 / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008191, allocations: 0 / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.008193, allocations: 4 kB / 357.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.008356, allocations: 207.5 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.008406, allocations: 59.64 kB / 357.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.008432, allocations: 11.98 kB / 357.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.008475, allocations: 7.984 kB / 357.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.008506, allocations: 15.92 kB / 357.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.008517, allocations: 4 kB / 357.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002361/0.008753, allocations: 426.7 kB / 357.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008753, allocations: 0 / 357.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.008934, allocations: 47.94 kB / 358 MB, free: 14.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000775/0.009709, allocations: 393.3 kB / 358.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.009824, allocations: 63.58 kB / 358.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009826, allocations: 0 / 358.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.009866, allocations: 32.05 kB / 358.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.01028, allocations: 86.77 kB / 358.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.01099, allocations: 0.647 MB / 359.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.01111, allocations: 132.2 kB / 359.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.621e-05/0.01121, allocations: 34.95 kB / 359.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.01136, allocations: 118.2 kB / 359.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01136, allocations: 0 / 359.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.006712/0.01807, allocations: 4.3 MB / 363.8 MB, free: 9.172 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.26805253373459]