Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.001029/0.001029, allocations: 80.98 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.001264/0.001264, allocations: 177 kB / 24.06 MB, free: 444 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.9464/0.9464, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.176/0.176, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.015e-06/3.015e-06, allocations: 3.984 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.364e-05, allocations: 4.281 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.005506/0.00554, allocations: 1.679 MB / 349.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.006596, allocations: 0.7726 MB / 350.7 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.00668, allocations: 4 kB / 350.7 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.007043, allocations: 63.73 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.00728, allocations: 63.62 kB / 350.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.01053, allocations: 83.75 kB / 350.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.01068, allocations: 103.7 kB / 351 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.01072, allocations: 3.938 kB / 351 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.564e-05/0.01081, allocations: 55.78 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.821e-05/0.0109, allocations: 43.88 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.01092, allocations: 4 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.011, allocations: 35.98 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.01104, allocations: 15.92 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.01107, allocations: 19.92 kB / 351.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.01123, allocations: 79.69 kB / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01123, allocations: 0 / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.01123, allocations: 0 / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.01123, allocations: 3.984 kB / 351.2 MB, free: 6.051 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003771/0.01161, allocations: 439.8 kB / 351.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01165, allocations: 12.03 kB / 351.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.01169, allocations: 12.89 kB / 351.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.01183, allocations: 148.4 kB / 351.8 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.01185, allocations: 4.375 kB / 351.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.01186, allocations: 384 / 351.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.01198, allocations: 54.94 kB / 351.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.01198, allocations: 3.938 kB / 351.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.01199, allocations: 3.984 kB / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.012, allocations: 4 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.01202, allocations: 11.92 kB / 351.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.01213, allocations: 109.3 kB / 352 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.01221, allocations: 47.05 kB / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.01223, allocations: 19.73 kB / 352.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.01225, allocations: 0 / 352.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.167e-05/0.01233, allocations: 69 kB / 352.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.01233, allocations: 0 / 352.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001585/0.01249, allocations: 81.52 kB / 352.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.01251, allocations: 51.41 kB / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.0126, allocations: 224 kB / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.01261, allocations: 29.7 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.01264, allocations: 146.9 kB / 352.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.01267, allocations: 19.89 kB / 352.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.0127, allocations: 23.38 kB / 352.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.01275, allocations: 0.5001 MB / 353.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.01276, allocations: 4 kB / 353.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.01279, allocations: 31.3 kB / 353.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.01283, allocations: 35.3 kB / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01283, allocations: 4 kB / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.125e-05/0.01291, allocations: 65.58 kB / 353.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.01292, allocations: 4 kB / 353.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01293, allocations: 4.031 kB / 353.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.01294, allocations: 7.938 kB / 353.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.013, allocations: 11.98 kB / 353.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01301, allocations: 0 / 353.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.01304, allocations: 8 kB / 353.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.01304, allocations: 0 / 353.4 MB, free: 3.68 MB / 282.7 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 5.196e-05/0.0131, allocations: 156.6 kB / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.01311, allocations: 15.89 kB / 353.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.01626, allocations: 86.02 kB / 353.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01626, allocations: 7.938 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01626, allocations: 4 kB / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01626, allocations: 0 / 353.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.254e-05/0.01635, allocations: 113.2 kB / 353.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01635, allocations: 384 / 353.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.01638, allocations: 4 kB / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01638, allocations: 0 / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.01638, allocations: 7.984 kB / 353.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01639, allocations: 4 kB / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01639, allocations: 0 / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.503e-05/0.01648, allocations: 120.2 kB / 353.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.0165, allocations: 11.95 kB / 353.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.01651, allocations: 3.984 kB / 353.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/0.01654, allocations: 4 kB / 353.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.01656, allocations: 4 kB / 353.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.01658, allocations: 11.92 kB / 353.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.01662, allocations: 156 kB / 354.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01662, allocations: 0 / 354.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.01682, allocations: 16 kB / 354.1 MB, free: 2.902 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009175/0.01774, allocations: 394.1 kB / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.01785, allocations: 31.61 kB / 354.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01785, allocations: 4 kB / 354.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.01788, allocations: 23.66 kB / 354.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01812, allocations: 37.23 kB / 354.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.01846, allocations: 181.4 kB / 354.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.641e-05/0.01849, allocations: 67.28 kB / 354.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.01852, allocations: 12.48 kB / 354.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.01858, allocations: 86.19 kB / 354.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01858, allocations: 0 / 354.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of Templates: time 0.009735/0.02832, allocations: 1.764 MB / 356.7 MB, free: 376 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.313925779890269]