Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.0009699/0.0009699, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001287/0.001287, allocations: 172.2 kB / 24.92 MB, free: 9.172 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.9866/0.9866, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2308/0.2308, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.481e-05, allocations: 5.109 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.005238/0.005253, allocations: 1.655 MB / 324.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007818/0.006035, allocations: 0.5413 MB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.006082, allocations: 0 / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.006309, allocations: 83.64 kB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.006562, allocations: 107.5 kB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.006787, allocations: 111.7 kB / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.006924, allocations: 83.75 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.006998, allocations: 19.98 kB / 325.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.007064, allocations: 39.89 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.007151, allocations: 51.88 kB / 325.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.007163, allocations: 4 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.63e-05/0.007239, allocations: 43.92 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.007281, allocations: 23.86 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.007307, allocations: 15.92 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.01045, allocations: 95.59 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01046, allocations: 4 kB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01046, allocations: 0 / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.535e-06/0.01046, allocations: 0 / 326.1 MB, free: 6.809 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.0003084/0.01077, allocations: 317.4 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.0108, allocations: 8.031 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.01083, allocations: 12.94 kB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.01096, allocations: 147.4 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.01096, allocations: 384 / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.01098, allocations: 4.375 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.566e-05/0.01107, allocations: 70.84 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.01108, allocations: 4.188 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.01108, allocations: 4.125 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.01109, allocations: 0 / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.01111, allocations: 8 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.01133, allocations: 175.8 kB / 326.8 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.091e-05/0.01138, allocations: 33.34 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.01139, allocations: 4.859 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.01141, allocations: 4 kB / 326.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.01143, allocations: 42.58 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.01143, allocations: 0 / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004066/0.01184, allocations: 145.7 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.01187, allocations: 55.41 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.01198, allocations: 180.8 kB / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.01199, allocations: 25.7 kB / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.01203, allocations: 96.81 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.01205, allocations: 31.73 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.01208, allocations: 25.7 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.01216, allocations: 322.8 kB / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.01218, allocations: 11.94 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.01219, allocations: 8 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.01223, allocations: 31.66 kB / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.01223, allocations: 3.938 kB / 327.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.064e-05/0.0123, allocations: 57.61 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.01231, allocations: 8 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.01232, allocations: 0 / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01233, allocations: 3.984 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.01239, allocations: 15.94 kB / 327.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.01239, allocations: 0 / 327.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.01242, allocations: 7.984 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.01242, allocations: 8 kB / 327.9 MB, free: 4.809 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 5.511e-05/0.01248, allocations: 112.7 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.0125, allocations: 7.938 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.01261, allocations: 75.42 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01261, allocations: 4 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.01261, allocations: 0 / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01261, allocations: 0 / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.01287, allocations: 259.4 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01287, allocations: 7.984 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.01291, allocations: 16.03 kB / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01291, allocations: 4 kB / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.01291, allocations: 0 / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01292, allocations: 0 / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01292, allocations: 0 / 328.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.01301, allocations: 164.3 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.01302, allocations: 15.89 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.01303, allocations: 4 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.01308, allocations: 0 / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.0131, allocations: 7.984 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.01311, allocations: 4 kB / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.548e-05/0.01316, allocations: 63.62 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01316, allocations: 0 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000129/0.01328, allocations: 16 kB / 328.7 MB, free: 3.992 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.001114/0.0144, allocations: 0.5702 MB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.352e-05/0.01447, allocations: 40.7 kB / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01447, allocations: 0 / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.01449, allocations: 20.84 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.01463, allocations: 30.78 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.01491, allocations: 227.6 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.01494, allocations: 71.33 kB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.01497, allocations: 12.8 kB / 329.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.01502, allocations: 63.36 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01502, allocations: 0 / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of Templates: time 0.002739/0.01776, allocations: 1.517 MB / 331.2 MB, free: 1.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.8634329829365015]