Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.001141/0.001141, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001342/0.001342, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.9284/0.9284, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1493/0.1493, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test68,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.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,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.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.917e-05, allocations: 6.25 kB / 347.8 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003211/0.00324, allocations: 1.812 MB / 349.6 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.004265, allocations: 0.8661 MB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.004365, allocations: 7.938 kB / 350.4 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.004852, allocations: 303.2 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.005177, allocations: 211.2 kB / 350.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.005468, allocations: 139.6 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.005709, allocations: 247.2 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.005757, allocations: 9.812 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.005911, allocations: 143.6 kB / 351.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.006099, allocations: 200.1 kB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.006128, allocations: 4 kB / 351.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.00623, allocations: 55.86 kB / 351.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.006335, allocations: 132.5 kB / 351.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.006416, allocations: 75.64 kB / 351.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.006705, allocations: 271 kB / 352.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.006709, allocations: 0 / 352.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.00671, allocations: 0 / 352.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.006719, allocations: 0 / 352.2 MB, free: 4.914 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.0006231/0.007342, allocations: 0.7747 MB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.007379, allocations: 8.031 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.007443, allocations: 52.61 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.007725, allocations: 324.7 kB / 353.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.007746, allocations: 4.375 kB / 353.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.007761, allocations: 8.375 kB / 353.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.007921, allocations: 90.28 kB / 353.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.007933, allocations: 7.875 kB / 353.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.007944, allocations: 0 / 353.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.007951, allocations: 4 kB / 353.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.007995, allocations: 23.97 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.008238, allocations: 296.3 kB / 353.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.008368, allocations: 106.2 kB / 353.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.008407, allocations: 27.36 kB / 353.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.008423, allocations: 4 kB / 353.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.008546, allocations: 112.3 kB / 354 MB, free: 2.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.31e-07/0.008547, allocations: 0 / 354 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002615/0.008808, allocations: 185.1 kB / 354.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.008832, allocations: 77.11 kB / 354.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.009218, allocations: 0.6862 MB / 355 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.009229, allocations: 29.7 kB / 355 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.009331, allocations: 298.8 kB / 355.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.009366, allocations: 27.78 kB / 355.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.009403, allocations: 35.36 kB / 355.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.009481, allocations: 0.5547 MB / 355.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.009512, allocations: 19.98 kB / 355.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.009548, allocations: 54.73 kB / 356 MB, free: 0.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.009619, allocations: 79.19 kB / 356 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009621, allocations: 0 / 356 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001556/0.009777, allocations: 153.2 kB / 356.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.009793, allocations: 8 kB / 356.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.009798, allocations: 3.938 kB / 356.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.009813, allocations: 0 / 356.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.009906, allocations: 23.98 kB / 356.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.009912, allocations: 0 / 356.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.009964, allocations: 15.94 kB / 356.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.009972, allocations: 4 kB / 356.2 MB, free: 0.5703 MB / 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 7.027e-05/0.01004, allocations: 176.4 kB / 356.4 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.01007, allocations: 55.67 kB / 356.5 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.01027, allocations: 169.5 kB / 356.6 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01027, allocations: 3.984 kB / 356.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01027, allocations: 0 / 356.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01028, allocations: 0 / 356.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.0105, allocations: 304.5 kB / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0105, allocations: 0 / 356.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.01053, allocations: 12.25 kB / 356.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01053, allocations: 4 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.01054, allocations: 11.98 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01054, allocations: 3.938 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01055, allocations: 0 / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.01075, allocations: 215.6 kB / 357.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.01081, allocations: 51.67 kB / 357.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.01084, allocations: 7.984 kB / 357.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.01088, allocations: 7.938 kB / 357.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.01092, allocations: 11.98 kB / 357.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01093, allocations: 4 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003344/0.01127, allocations: 470.8 kB / 357.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.01127, allocations: 4 kB / 357.7 MB, free: 15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.01146, allocations: 47.92 kB / 357.8 MB, free: 14.96 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.001002/0.01247, allocations: 396.1 kB / 358.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.01262, allocations: 75.53 kB / 358.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01262, allocations: 0 / 358.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.01268, allocations: 39.61 kB / 358.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.013, allocations: 70.58 kB / 358.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008433/0.01384, allocations: 0.6395 MB / 359 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.146e-05/0.01394, allocations: 128.2 kB / 359.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.763e-05/0.01401, allocations: 43.44 kB / 359.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.01407, allocations: 28.5 kB / 359.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01407, allocations: 0 / 359.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.006672/0.02075, allocations: 3.97 MB / 363.1 MB, free: 9.637 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.4158015698194504]