Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001469/0.001469, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001214/0.001214, allocations: 163.5 kB / 24.99 MB, free: 8.355 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.2824/0.2824, allocations: 32.81 MB / 294.6 MB, free: 1.285 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/2.989e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002347/0.002377, allocations: 1.642 MB / 377.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.003145, allocations: 0.5492 MB / 378.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.003203, allocations: 0 / 378.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.003388, allocations: 27.78 kB / 378.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.003586, allocations: 75.61 kB / 378.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.003769, allocations: 91.64 kB / 378.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.003904, allocations: 87.7 kB / 378.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.003987, allocations: 7.984 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.00404, allocations: 39.89 kB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.004098, allocations: 23.92 kB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.004111, allocations: 4 kB / 378.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.004235, allocations: 95.81 kB / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.004275, allocations: 19.91 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.004304, allocations: 11.94 kB / 378.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.004516, allocations: 151.5 kB / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004518, allocations: 0 / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.004519, allocations: 0 / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.145e-06/0.004522, allocations: 4 kB / 378.8 MB, free: 2.137 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003726/0.004895, allocations: 432 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.004926, allocations: 8.031 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.004969, allocations: 12.89 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.005108, allocations: 144.4 kB / 379.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.005115, allocations: 384 / 379.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.005133, allocations: 8.375 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.005256, allocations: 100 kB / 379.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005264, allocations: 192 / 379.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.005273, allocations: 4.125 kB / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.005278, allocations: 4 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.149e-05/0.00531, allocations: 11.98 kB / 379.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.005595, allocations: 291.8 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.005661, allocations: 51.05 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.005686, allocations: 15.67 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.005701, allocations: 4 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.005723, allocations: 45.25 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.005724, allocations: 0 / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003477/0.006072, allocations: 141.4 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.006109, allocations: 81.11 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.006233, allocations: 209 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.006243, allocations: 25.7 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.006292, allocations: 138.9 kB / 380.5 MB, free: 256 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.006311, allocations: 31.73 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.006342, allocations: 23.38 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.006462, allocations: 0.4923 MB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.006486, allocations: 12 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.006525, allocations: 57.06 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.006575, allocations: 43.61 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.006576, allocations: 0 / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.199e-05/0.006668, allocations: 81.61 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.006679, allocations: 4 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006683, allocations: 0 / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.006692, allocations: 0 / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.00676, allocations: 23.92 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.006766, allocations: 0 / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.00679, allocations: 8 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.006795, allocations: 0 / 381.3 MB, free: 15.43 MB / 362.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 (9): * Single equations (assignments): 9 * 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.355e-05/0.006858, allocations: 160.6 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.006881, allocations: 15.84 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.006998, allocations: 98.42 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.007001, allocations: 4 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.007004, allocations: 0 / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007008, allocations: 0 / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.007266, allocations: 353.3 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007268, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.007306, allocations: 15.98 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.007309, allocations: 4 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.007316, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007317, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007318, allocations: 4 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.007439, allocations: 227.8 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.007449, allocations: 11.94 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.007461, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.007495, allocations: 7.938 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.007521, allocations: 7.984 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.007525, allocations: 4 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.007591, allocations: 155.1 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007591, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.007788, allocations: 39.88 kB / 382.4 MB, free: 14.27 MB / 362.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 (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.0009793/0.008767, allocations: 0.5018 MB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.008871, allocations: 47.59 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.008872, allocations: 0 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.008899, allocations: 27.69 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.009086, allocations: 15.98 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.009379, allocations: 190.3 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.009416, allocations: 67.28 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.009465, allocations: 24.61 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.009496, allocations: 20.48 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009496, allocations: 7.938 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Templates: time 0.003365/0.01286, allocations: 2.04 MB / 385.3 MB, free: 11.46 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.3144602780230343]