Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.0009519/0.0009519, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001187/0.001187, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.014/1.014, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2587/0.2587, allocations: 34.26 MB / 296.1 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.979e-05, allocations: 5.859 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002127/0.002147, allocations: 1.658 MB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.002856, allocations: 0.5335 MB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.002906, allocations: 3.938 kB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.003143, allocations: 79.7 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.003396, allocations: 99.52 kB / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.003622, allocations: 91.69 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.003757, allocations: 83.7 kB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.00387, allocations: 19.91 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.003936, allocations: 39.91 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.156e-05/0.004017, allocations: 43.88 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.004029, allocations: 8 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.004103, allocations: 43.92 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.004142, allocations: 19.92 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.004165, allocations: 19.92 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.00431, allocations: 83.67 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004312, allocations: 0 / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004313, allocations: 0 / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.004316, allocations: 3.938 kB / 328.1 MB, free: 4.801 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.000308/0.004624, allocations: 322.1 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.004654, allocations: 8.031 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.00468, allocations: 4.938 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.004793, allocations: 142.3 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.004801, allocations: 4.375 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.00482, allocations: 8.312 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.004903, allocations: 58.94 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004911, allocations: 192 / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.004917, allocations: 4.125 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.004922, allocations: 4 kB / 328.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.004941, allocations: 7.984 kB / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.005126, allocations: 171.1 kB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.005174, allocations: 34.5 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.005186, allocations: 12.86 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.0052, allocations: 0 / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.005219, allocations: 38.5 kB / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.00522, allocations: 0 / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000391/0.005611, allocations: 141.6 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.005639, allocations: 51.41 kB / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.005738, allocations: 174.1 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.005747, allocations: 29.64 kB / 329.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.005776, allocations: 108 kB / 329.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.005799, allocations: 31.72 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.005826, allocations: 17.72 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.00597, allocations: 326.8 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.005983, allocations: 4 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.264e-05/0.005996, allocations: 11.98 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.006026, allocations: 20.84 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006027, allocations: 0 / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.346e-05/0.006091, allocations: 65.83 kB / 329.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.006101, allocations: 4 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006106, allocations: 0 / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.006115, allocations: 4 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.006174, allocations: 19.94 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.006177, allocations: 4 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.006195, allocations: 3.984 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.0062, allocations: 0 / 329.9 MB, free: 2.84 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.761e-05/0.006257, allocations: 120.7 kB / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.006276, allocations: 15.92 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.006376, allocations: 71.14 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006377, allocations: 3.938 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.006378, allocations: 0 / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006381, allocations: 4 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.006608, allocations: 247.5 kB / 330.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006609, allocations: 0 / 330.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.006646, allocations: 15.98 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.006648, allocations: 4 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-06/0.006653, allocations: 0 / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006654, allocations: 0 / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.006655, allocations: 0 / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.157e-05/0.006737, allocations: 168.2 kB / 330.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-06/0.006746, allocations: 15.97 kB / 330.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006756, allocations: 4 kB / 330.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.127e-05/0.006787, allocations: 0 / 330.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.00681, allocations: 7.984 kB / 330.5 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.006813, allocations: 4.359 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.92e-05/0.006853, allocations: 48.36 kB / 330.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006853, allocations: 0 / 330.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.006991, allocations: 23.92 kB / 330.6 MB, free: 2.031 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.001256/0.008247, allocations: 0.5751 MB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.008333, allocations: 40.7 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.008338, allocations: 4 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.008358, allocations: 16.86 kB / 331.3 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.008519, allocations: 30.67 kB / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.008817, allocations: 220.8 kB / 331.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.829e-05/0.008855, allocations: 71.33 kB / 331.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.9e-05/0.008884, allocations: 5.047 kB / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.008935, allocations: 63.36 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.008936, allocations: 0 / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of Templates: time 0.003034/0.01197, allocations: 1.474 MB / 333.1 MB, free: 15.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.9263863982632756]