Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.0009001/0.0009001, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001032/0.001032, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 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 0.9847/0.9847, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 32.8 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.666e-05, allocations: 2.969 kB / 323.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002759/0.002776, allocations: 1.654 MB / 324.9 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.003732, allocations: 0.5452 MB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.003787, allocations: 0 / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.004064, allocations: 75.7 kB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.004361, allocations: 103.5 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.004637, allocations: 115.6 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.004796, allocations: 83.8 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.004888, allocations: 12 kB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.206e-05/0.00497, allocations: 43.88 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.005068, allocations: 43.89 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.005083, allocations: 4 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.005176, allocations: 47.86 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.005222, allocations: 23.86 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.005251, allocations: 11.94 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.005418, allocations: 91.66 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.005419, allocations: 4 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00542, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.005424, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.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.0003621/0.005786, allocations: 305.5 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.005821, allocations: 12.03 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.005858, allocations: 12.92 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.006013, allocations: 146.1 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.006024, allocations: 384 / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.00605, allocations: 8.375 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.006161, allocations: 58.92 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.00617, allocations: 4.188 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006181, allocations: 8.125 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.006187, allocations: 0 / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.006214, allocations: 8 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.006489, allocations: 175.6 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.419e-05/0.006553, allocations: 41.45 kB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.006572, allocations: 4.859 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.006586, allocations: 4 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.006612, allocations: 34.5 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.006614, allocations: 0 / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005162/0.00713, allocations: 161.7 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.007163, allocations: 51.41 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.007297, allocations: 174.1 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.007308, allocations: 25.7 kB / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.007348, allocations: 96.11 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.007378, allocations: 27.73 kB / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.007412, allocations: 21.72 kB / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.007508, allocations: 322.8 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.00753, allocations: 15.98 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.007544, allocations: 4 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.813e-05/0.007592, allocations: 31.66 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007593, allocations: 0 / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.023e-05/0.007684, allocations: 61.55 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.007697, allocations: 8 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.007702, allocations: 0 / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.007714, allocations: 0 / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.00779, allocations: 19.98 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007792, allocations: 0 / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.007819, allocations: 7.938 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.007825, allocations: 4 kB / 327.9 MB, free: 4.852 MB / 298.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 (8): * Single equations (assignments): 8 * 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.614e-05/0.007891, allocations: 116.7 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.007921, allocations: 11.92 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.008052, allocations: 75.38 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.008054, allocations: 0 / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.008057, allocations: 4 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.008061, allocations: 3.984 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.00836, allocations: 251.5 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008361, allocations: 0 / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.00841, allocations: 16.03 kB / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008412, allocations: 0 / 328.4 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.008419, allocations: 3.984 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.00842, allocations: 4 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008421, allocations: 0 / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.00854, allocations: 168.2 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.008558, allocations: 7.953 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.008574, allocations: 0 / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.008636, allocations: 12 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.008664, allocations: 7.984 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.008669, allocations: 4 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.064e-05/0.00872, allocations: 48.34 kB / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00872, allocations: 4 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.008966, allocations: 19.94 kB / 328.7 MB, free: 4.039 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001673/0.01064, allocations: 0.5669 MB / 329.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.366e-05/0.01071, allocations: 32.78 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.01072, allocations: 0 / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.01074, allocations: 28.78 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.01089, allocations: 35.41 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.01121, allocations: 216 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.01125, allocations: 75.33 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.01128, allocations: 12.8 kB / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.01133, allocations: 63.36 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01133, allocations: 0 / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of Templates: time 0.00296/0.01429, allocations: 1.502 MB / 331.2 MB, free: 1.777 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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: 2.8432642300613225]