Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001147/0.001147, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001359/0.001359, allocations: 173.4 kB / 24.05 MB, free: 456 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.9424/0.9424, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1688/0.1688, 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.883e-05, allocations: 2.312 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002377/0.002406, allocations: 1.644 MB / 349.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.003378, allocations: 1.083 MB / 350.9 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.003448, allocations: 0 / 350.9 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.003686, allocations: 31.78 kB / 350.9 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.003895, allocations: 51.64 kB / 350.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.004186, allocations: 139.7 kB / 351.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.004307, allocations: 75.75 kB / 351.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.92e-05/0.004396, allocations: 8 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.004454, allocations: 39.91 kB / 351.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.00454, allocations: 27.89 kB / 351.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.004558, allocations: 8 kB / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.004658, allocations: 47.91 kB / 351.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.004709, allocations: 19.92 kB / 351.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.00473, allocations: 11.94 kB / 351.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.004891, allocations: 91.66 kB / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.004895, allocations: 7.984 kB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004896, allocations: 0 / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.0049, allocations: 0 / 351.4 MB, free: 5.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003038/0.005204, allocations: 408.2 kB / 351.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.005238, allocations: 12.02 kB / 351.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.005269, allocations: 12.89 kB / 351.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.005368, allocations: 135.5 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.005376, allocations: 4.375 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.005393, allocations: 4.375 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.00551, allocations: 108 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005519, allocations: 4.125 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.005527, allocations: 4.125 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.005532, allocations: 4 kB / 352.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.005554, allocations: 7.984 kB / 352.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.005773, allocations: 268.3 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.005827, allocations: 43 kB / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.005844, allocations: 11.77 kB / 352.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.005865, allocations: 4 kB / 352.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.005882, allocations: 45.33 kB / 352.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.005884, allocations: 3.984 kB / 352.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002994/0.006183, allocations: 101.5 kB / 352.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.006205, allocations: 77.11 kB / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.006274, allocations: 193.8 kB / 352.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.00628, allocations: 25.7 kB / 352.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.006308, allocations: 146.8 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.006328, allocations: 27.78 kB / 353 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.006359, allocations: 27.36 kB / 353.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.006414, allocations: 0.4923 MB / 353.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.006429, allocations: 4 kB / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.006458, allocations: 61.06 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.006492, allocations: 27.67 kB / 353.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006493, allocations: 0 / 353.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.071e-05/0.006564, allocations: 65.58 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006576, allocations: 8 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.00658, allocations: 4.031 kB / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.00659, allocations: 0 / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.00665, allocations: 15.98 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.006653, allocations: 3.938 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.006675, allocations: 4 kB / 353.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.00668, allocations: 4 kB / 353.7 MB, free: 3.316 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 4.238e-05/0.006723, allocations: 160.6 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.006744, allocations: 11.89 kB / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.00684, allocations: 74.11 kB / 354 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006842, allocations: 4 kB / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006844, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006847, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.007036, allocations: 313.9 kB / 354.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007038, allocations: 0 / 354.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.007076, allocations: 19.98 kB / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.007079, allocations: 0 / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.007083, allocations: 0 / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007085, allocations: 4 kB / 354.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.007086, allocations: 0 / 354.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.007165, allocations: 220.1 kB / 354.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.007173, allocations: 11.95 kB / 354.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.007182, allocations: 0 / 354.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.007216, allocations: 8 kB / 354.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.007246, allocations: 11.98 kB / 354.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.00725, allocations: 0 / 354.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.114e-05/0.007281, allocations: 142.1 kB / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007281, allocations: 0 / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.007444, allocations: 27.92 kB / 354.7 MB, free: 2.266 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000804/0.008248, allocations: 423.3 kB / 355.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.243e-05/0.008341, allocations: 43.61 kB / 355.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008343, allocations: 0 / 355.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.008364, allocations: 23.67 kB / 355.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.00856, allocations: 35.77 kB / 355.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.00884, allocations: 194.8 kB / 355.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.657e-05/0.008867, allocations: 63.34 kB / 355.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.018e-05/0.008917, allocations: 24.22 kB / 355.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.008979, allocations: 86.19 kB / 355.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.00898, allocations: 0 / 355.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of Templates: time 0.003365/0.01234, allocations: 1.768 MB / 357.4 MB, free: 15.65 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.094327807892114]